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.

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:
    1
    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:
    8
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    You can run "crontab -e" on the server to add/edit the crons.
     
Loading...

Share This Page