The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CronJob how and Add Acc problem

Discussion in 'General Discussion' started by StefanNET, Feb 24, 2011.

  1. StefanNET

    StefanNET Member

    Joined:
    Jan 27, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    So how to login as root to main account and to setup cronjob on server? Also When I add manually user via whm email is sent to me, but not to that user, how to be sent to that user? Thanks.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    The root crontab is in /var/spool/cron/root, but it's generally recommended to set up crons in /etc/cron.d/<scriptname> instead. You can't edit root crons from cPanel.

    By default, new user setup emails are sent to the account owner (that is, root or the reseller), not the user.
     
  3. MattLee

    MattLee BANNED

    Joined:
    Aug 26, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    It's generally advisable from a security standpoint to set up cronjobs under the specific user instead of under root as Vanessa stated.

    As far as having the new user setup emails sent to the user themselves, it's not currently possible with significant customization. There are several billing software solutions that are commonly used in conjunction with cPanel that will handle such things; you may want to look into them.
     
Loading...

Share This Page