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.

Creating Cron Jobs

Discussion in 'General Discussion' started by davecuttriss, Mar 13, 2007.

  1. davecuttriss

    davecuttriss Registered

    Joined:
    Jul 1, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Not sure if this should be in WHM or CPanel Forum but as I suspect it's fundamentally a setting in WHM I'll start here. Apologies if I'm wrong.
    I have full control over our new server & I'm also new to the full WHM although I'm used to Cpanel.
    I'm pretty sure I've allowed CRON for my new accounts (at least it shows up in the package as ticked and Cron appears in the Cpanel menu.)
    However every time I create a cron job in Cpanel for any of my new accounts and update/save it it seems to disappear. i.e. when I reclick Cron there are no Cron jobs there. In my previous CPanel experience if you created a Cron job it showed up on the cron page until deleted.
    What am I doing wrong? What haven't I set up correctly.
    Any help much appreciated.

    Dave
     
  2. gravityclan

    gravityclan Member

    Joined:
    Feb 22, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Same here.

    I fill in the cron job info and save it, it says it saved but going back to the cron jobs menu shows no saved entrys.
     
  3. davecuttriss

    davecuttriss Registered

    Joined:
    Jul 1, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    If it's any help here's the error message as reported by our managed server people:

    <<The error being produced in the cpanel log is -
    cron/tmp.XXXXctNJVe: Permission denied
    The trouble is as this is a relative path I'm not sure exactly which directory it is referring to.>>


    It's meaningless to me (that's why we have a managed server). I'll post if they resolve it.

    Dave
     
  4. davecuttriss

    davecuttriss Registered

    Joined:
    Jul 1, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Just received the following message from our managed server people:

    <<
    I received this back from cPanel -

    "The /usr/bin/crontab binary was not setuid so it was unable to write to
    cron/tmp.*

    I ran 'chmod 4755 /usr/bin/crontab' and it appears to be working correctly now.>>


    This certainly seems to have solved the problem. Perhaps it will help you?

    cheers
    Dave
     
Loading...

Share This Page