crontab: installing new crontab
When I tried to save and quit editing crontab, I met an error like this:
[oracle@test ~]$ crontab -e
crontab: installing new crontab
"/tmp/crontab.vqE76q":1: bad command
errors in crontab file, can't install.
More error patterns can be seen as below.
Bad day-of-week
crontab: installing new crontab
"/tmp/crontab.EnwY7D":5: bad day-of-week
errors in crontab file, can't install.
Do you want to retry the same edit?
Bad month
crontab: installing new crontab
"/tmp/crontab.EnwY7D":5: bad month
errors in crontab file, can't install.
Do you want to retry the same edit?
crontab: installing new crontab
Bad day-of-month
crontab: installing new crontab
"/tmp/crontab.EnwY7D":5: bad day-of-month
errors in crontab file, can't install.
Do you want to retry the same edit?
Bad hour
crontab: installing new crontab
"/tmp/crontab.EnwY7D":5: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit?
Bad minute
crontab: installing new crontab
"/tmp/crontab.EnwY7D":5: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit?
Please make sure that the entry of you cron job comply with the correct format and value range of a cron job in the operating system.
Thank you for your mention of White Spaces between asterisks. I had been fighting a losing battle trying to get any crontab to work untill I came across this article. Have not seen any reference elsewhere and on a printed page the spacing was not obvious.
The PetMan
I’m so glad it’s helpful.