Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can't Edit/Create Cron Jobs

Discussion in 'General Discussion' started by jayshah, Apr 26, 2007.

  1. jayshah

    jayshah Registered

    Joined:
    Jan 28, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I do hope someone here can help me, and I appreciate anyone who does try.

    Basically, on my server you cannot do anything with cron jobs, i.e. edit/delete/create etc

    The option is there with all the buttons, and when you try to save it no errors occur, but the cron is never created.

    I have tried
    - Updating cPanel
    - Installing the Cron Addon
    - Rebooting server several times after each attempt

    Please can someone help me sort this out?

    Thanks in advance,

    Jay
     
  2. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    318
    Any errors in /usr/local/cpanel/logs/error_log when attempting this? What version are you running?
     
  3. jayshah

    jayshah Registered

    Joined:
    Jan 28, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    Thanks sooooo much for replying.

    I guess you can see the problem, is it a permission error?

    Version:

    WHM 10.8.0 cPanel 10.9.0-R10737
    Fedora i686 - WHM X v3.1.0

    THANKS!

    Jay
     
  4. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    318


    It definitely looks like a permissions error but I'm not certain what's wrong off hand. If you Submit a Support Request we should be able to track it down quickly.

    Make sure to post the resolution here if possible so others can benefit. Thanks
     
  5. jayshah

    jayshah Registered

    Joined:
    Jan 28, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    Here is the resolution:

    Code:
    chmod 4755 /usr/bin/crontab
    And crons are working perfectly now!

    Thanks cPanel!

    Jay
     
  6. ShirazDindar

    ShirazDindar Member

    Joined:
    Jan 19, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    thanks

    Thanks for posting your fix, Jay.

    I had the exact same problem on a fresh Fedora server with a fresh Cpanel install (from download, not disk image).

    Is this a bug in the Cpanel installer?

    Cheers,

    Shiraz
     
  7. fcitrolo

    fcitrolo Active Member

    Joined:
    Dec 31, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    Had the same problem on a FC5 install.

    Thank you for posting this.
     
  8. tv1

    tv1 Member

    Joined:
    May 30, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Same problem on Fedora 6

    This thread was a lifesaver, thanks.
     
  9. visualp

    visualp Registered

    Joined:
    May 24, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    I'm having this same problem with a couple of exceptions -- there is nothing in my error logs and chmoding the /usr/bin/crontab file doesn't seem to help.

    I'm running WHM 11.2.0 cPanel 11.6.0-R15062 on REDHAT Enterprise 3 i686 - WHM X v3.1.0

    I transferred these accounts over from another server and all of the cron jobs I created on that server still exist and still seem to run, but they don't show up under Cron Jobs in cpanel and I can't create a new cron job -- even on a brand new account not transferred from the old server.

    Edit -- turns out I was wrong. After trying the chmod fix a second time, everything seems to be working great now.

    -Ryan
     
    #9 visualp, Jul 12, 2007
    Last edited: Jul 13, 2007
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice