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.

Cron will not list on cpanel

Discussion in 'General Discussion' started by screege, Dec 2, 2007.

  1. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Hi I just migrated to a new server and have a wird thing, if I go the cpanel account and cron there are no crons for the user, but if I go to shell and to /var/spool/cron then the cron jobs appear, the server is not running the cron jobs for any user since I did not get any mails with the output as I usually do. I tried deleting the cron files from /var/spool/cron/user and adding them via the cpanel it says it adds it but there is no crontab when clicking again, also there is no crontab under /var/spool/cron/user

    Thanks in advanced.
     
  2. serversignature

    serversignature Well-Known Member

    Joined:
    Nov 26, 2007
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    hi,

    appears to be a permission problem ... the below is the output from my laptop ...


    $ ls -ld /usr/bin/crontab
    -rwxr-sr-x 1 root crontab 26668 2005-11-15 18:12 /usr/bin/crontab

    try the command chmod a+s /usr/bin/crontab and see if that resolves your issue :)

    You can also check the cpanel error log to see if it give out any message.

    thanks,
     
  3. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Thank you That fixed the issue

    chmod 4755 /usr/bin/cron
     
  4. serversignature

    serversignature Well-Known Member

    Joined:
    Nov 26, 2007
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    great ... you solved the problem :)

    thanks,
     
Loading...

Share This Page