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.

cron job from WHM ?

Discussion in 'General Discussion' started by barnea10, Mar 14, 2010.

  1. barnea10

    barnea10 Member

    Joined:
    Mar 14, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    hi
    is there a way to schedual cron job thorugh the WHM ?
    i would like to make one for CLAMAV to scan whole the VPS server accounts

    thanks

    barnea
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You cannot set the cron from WHM. However, if you have to set the cron then you will require the SSH access of the server and can set the cron from /etc/crontab.
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    No, you cannot set a cron job from WHM. If you have to set a cron server side, you will have to configure it via SSH as user "root". SSH to your server and execute:

    This will edit the root's cronjob file at /var/spool/cron/root. Set the cronjob you like and restart the crond service.

     
Loading...

Share This Page