Whm Cron updates backups Help

gameutopia

Registered
Jun 17, 2007
1
0
51
I was messing with something and now I can't set cron for upcp and cpbackup.

I am kind of new to this and am not sure what I did. I get these errors in my log file:

bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.
"/scripts/.crontab":1: bad command
errors in crontab file, can't install.

I can punch in the cron times I want and push commit, but when I come back they are just blank.

Any help or suggestions I'm all ears.

Thank you.
gameutopia
 

sleddog

Active Member
Jun 13, 2004
44
0
156
Labrador, Canada
If you manually edited the crontab file, check to ensure each that entry is on a single line. Sometimes a text editor will wrap a long line, breaking the crontab file.

For manual editing of the crontab in SSH use "crontab -e".