errors in crontab file, can't install.

vinogradov8

Registered
Mar 19, 2017
2
0
1
Florida
cPanel Access Level
Root Administrator
I'm getting this error when upgrading to the latest version... how do I fix this?

Code:
[2017-03-19 17:16:15 -0500]   /usr/bin/crontab: installing new crontab
[2017-03-19 17:16:15 -0500]   "/tmp/crontab.Ta20bb":5: bad day-of-month
[2017-03-19 17:16:15 -0500]   errors in crontab file, can't install.
 

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter
/tmp/crontab.Ta20bb":5: bad day-of-month
The error message is showing that there is problem in crontab file at line number 5.
You have to edit crontab file using following command and correct the cron.
Code:
crontab -e
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

The previous posts are correct. Check line 5 when editing your root crontab with the "crontab -e" command to verify it's a valid entry.

Thank you.