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!

How to setup a server cronjob?

Discussion in 'General Discussion' started by Selena, Feb 16, 2010.

  1. Selena

    Selena Active Member

    Joined:
    Jun 22, 2009
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    I'm a newbie. I'm running RedHatLinux with cPanel.

    I know how to setup cronjobs in cPanel for individual accounts (via the account cPanel). But how do I do this for the server itself? I can't seem to locate this in WHM.

    I need to run a rm -rf tmp/* command every 30 mins until I can figure out why my /tmp directory is filling up (100% max every hour).

    Any help would be greatly appreciated.

    Thank you.
     
  2. Eli L

    Eli L Well-Known Member

    Joined:
    Aug 9, 2007
    Messages:
    61
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    You can run "crontab -e" on the server to add/edit the crons.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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