The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Whm Cron updates backups Help

Discussion in 'General Discussion' started by gameutopia, Jun 17, 2007.

  1. gameutopia

    gameutopia Registered

    Joined:
    Jun 17, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. sleddog

    sleddog Active Member

    Joined:
    Jun 13, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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".
     
Loading...

Share This Page