Millar

Active Member
Dec 23, 2006
29
0
151
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?
 

feanorknd

Member
Sep 28, 2005
21
1
153
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.
 

Millar

Active Member
Dec 23, 2006
29
0
151
Nice Job

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!