Description: Cron jobs stopped working suddenly in CPanel Server
Procedure: Below are steps to troubleshoot issue
Procedure: Below are steps to troubleshoot issue
- Make sure Cron service running
- check permission in /usr/bin/crontab it should be 4775 if it is different, then change it using below command
# useradd authuser
# chmod 4775 /usr/bin/crontab
- Check permission in /var/spool/cron it should be as follow:
drwx------. 2 root root 4.0K Jul 8 15:34 .
drwxr-xr-x. 16 root root 4.0K Jul 8 15:23 ..
-rw------- 1 root root 1 May 11 20:53 demosite1
-rw------- 1 root root 1 May 15 12:52 testsite1
-rw------- 1 root root 1.3K Jun 6 21:04 example
-rw------- 1 root root 583 May 27 21:39 democy
-rw------- 1 root root 1 May 11 20:54 demowriterpay
-rw------- 1 root root 1 May 11 20:54 origianl