Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    29

    Default Cron Jobs Not Saving

    When I attempt to add a new cron job via cPanel, it says it was successful but then when you view the cron jobs, none are listed, I checked to see if it just wasn't displaying them but they were stored backend, but the cron jobs aren't stored in the crontab either.

    When I went to /var/spool/cron/, I found that no file exists for the username of my cPanel account.

    When I look at the cron logs, no errors apparent:
    Dec 28 10:12:59 xmillar /usr/bin/crontab[29770]: (millar) LIST (millar)
    Dec 28 10:12:59 xmillar /usr/bin/crontab[29772]: (millar) LIST (millar)
    Dec 28 10:13:10 xmillar /usr/bin/crontab[29794]: (millar) LIST (millar)
    Dec 28 10:13:10 xmillar /usr/bin/crontab[29796]: (millar) LIST (millar)
    Dec 28 10:15:01 xmillar crond[29827]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Dec 28 10:15:01 xmillar crond[29829]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    Do I just need to re-create the var/spool/cron/username file? If so, how can I do this?

  2. #2
    Registered User
    Join Date
    Sep 2005
    Posts
    3

    Default

    Ok...

    Try before executing as root:

    chmod a+s /usr/bin/crontab

    Giving permissions to execute crontab to others, problem saving cronjobs and watching them later worked at least for me.

    Good luck.

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    29

    Thumbs up Nice Job

    Quote Originally Posted by feanorknd View Post
    Ok...

    Try before executing as root:

    chmod a+s /usr/bin/crontab

    Giving permissions to execute crontab to others, problem saving cronjobs and watching them later worked at least for me.

    Good luck.
    Thanks, that fixed it!

Similar Threads & Tags
Similar threads

  1. Cron jobs not saving on new dedicated server
    By Patty_J in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-17-2007, 07:53 AM
  2. Cron not saving
    By mcyates in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 08-23-2007, 09:23 AM
  3. Cron jobs not saving
    By Boss Hog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2006, 05:20 AM
  4. Cron not saving for one account
    By kistler in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-08-2006, 05:45 AM
  5. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 07:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube