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.

Cronjob not delete

Discussion in 'General Discussion' started by Tripolis, Jan 21, 2014.

  1. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hey,
    i create a cronjob and see after save a wrong address.
    I delete the cronjob in Cpanel and it is delete.

    But, the cronjob is working and cant delete because he is deleted.

    Message:

    Subject: Cron <wwwb...............
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <LANG=en_US.UTF-8>
    X-Cron-Env: <SHELL=/usr/local/cpanel/bin/jailshell>
    X-Cron-Env: <HOME=/home/wwwo...>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=wwwb....>
    X-Cron-Env: <USER=wwwb.....>

    /usr/local/cpanel/bin/jailshell: .........................adress to file---

    What can i do now?
    I create a job every 30 minutes and you know how many mails i have until sunday evening :)

    Regards
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you have root access to this server? If not, please contact your web hosting provider to have them see why the cron job is not deleting properly. They will be able to manually remove the cron job directly from the command line.

    Thank you.
     
  3. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    I have root access.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please review the following file:

    /var/spool/cron/$username

    You can edit it with a text editor such as "vi" to delete the cron job in question.

    Thank you.
     
  5. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hm, i open it.
    I only see:
    MAILTO="pt..........ine.de"
    SHELL="/usr/local/cpanel/bin/jailshell"

    No cronjob set.

    But, i dont be wrong or?
    That is about the cronjob.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look and see why the cron job is still running if it's no longer created? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    ID 4466335

    Thank you
     
  8. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, this appears to be that there are several frozen messages still in the Exim mail queue that were generated from
    this cron job that now no longer exist. It was recommended that the Exim mail queue be cleared of those messages to see if the problem goes away. We are still waiting on confirmation on that.

    Thank you.
     
Loading...

Share This Page