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.

Major Problem with Cronjobs

Discussion in 'General Discussion' started by mu5icman, Apr 27, 2009.

  1. mu5icman

    mu5icman Member

    Joined:
    Oct 2, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    For 1 of our clients they were using about 10 cronjobs, tried to add another and cpanel deleted them all. I experienced this first hand as I was adding the cronjobs.

    There is nothing in the error log. Any suggestions because I don't want to add 20 then by magic they disappear.

    All of the cpanel built-in jobs are still there though.
     
  2. serversignature

    serversignature Well-Known Member

    Joined:
    Nov 26, 2007
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    have you checked the logs at

    /usr/local/cpanel/logs/*
     
  3. mu5icman

    mu5icman Member

    Joined:
    Oct 2, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I have gone through each log file and there is nothing entered in them for the time this occured.

    I have these log files in that folder

    access_log
    cpdavd_error_log
    cphulkd_errors.log
    error_log
    login_log
    tailwatchd_log
    cphulkd_errors.log
    license_log stats_log
     
  4. mu5icman

    mu5icman Member

    Joined:
    Oct 2, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to import/export cronjobs?
     
  5. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Yeah you can they are stored in

    /var/spool/cron/USERNAME

    You can backup/modify to your heart's desire.
     
  6. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Just a quick note, I have had this problem for some time now. When creating a cronjob in CPanel, it will give you the screen that it is done, however, if you go back to the cron screen, it will not be saved at all, and, erases any that were there. If you check the /var/spool/cron for the user account, the only thing listed is the contact email address. I've got around by just creating the crons manually if needed.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Would you mind if our technical analysts took a look at this for you? They may be able to isolate the cause of this issue and take corrective action. You can contact our technical analysts at: http://tickets.cPanel.net/submit
     
  8. panayot

    panayot Well-Known Member

    Joined:
    Nov 18, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    we also have the same problem - no cronjob can be added from cpanel

    cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend you submit a ticket as well. If we find this is caused by something in the code, submitting a ticket will help to expedite the process of repairing the code.
     
Loading...

Share This Page