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!

crontab run-parts not working

Discussion in 'General Discussion' started by kdarray, May 29, 2006.

  1. kdarray

    kdarray Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Washington
    crontab is no longer running the run-parts for the system like before:

    run-parts /etc/cron.daily: 1 Time(s)
    run-parts /etc/cron.hourly: 23 Time(s)

    these have not run since the 5/27 cpanel update. the crons in /var/spool/cron are all running fine for all accounts including root. i'm not sure how to get the proper crontab back for the system. if i recall, crontab -e used to look like this (below) but i'm not positive. i just know this piece is missing as some of my hourly and daily jobs are not performed from /cron.daily for example:

    SHELL=/bin/bash
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    MAILTO=root
    HOME=/

    # run-parts
    01 * * * * root run-parts /etc/cron.hourly
    02 4 * * * root run-parts /etc/cron.daily
    22 4 * * 0 root run-parts /etc/cron.weekly
    42 4 1 * * root run-parts /etc/cron.monthly

    So where did the above go and how do I correct this or check if it does still exist please.

    Your thoughts and help are appreciated. I thought this was considered the system cron that starts when the server starts, I just don't know where it is located and am comfused.
     
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