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.

Crontab /etc/crontab not working

Discussion in 'General Discussion' started by PatrickVeenstra, May 23, 2016.

  1. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    70
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    I'm setting up a cron to do backups, and using /etc/crontab doesn't execute the job, while crontab -e does. What's the difference between them?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The "crontab -e" command edits the /var/spool/cron/root file when you are logged in as the "root" user.

    Thank you.
     
Loading...

Share This Page