Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2001
    Location
    Hanoi - Vietnam
    Posts
    306

    Setup cronjob for root (WHM/CPanel)

    Hello,

    I'm setting up a cronjob for root account of a RHEL3/WHM box...

    It seem going well but it didnt work...

    The cronjob is look like this...

    */10 * * * * sh /home/asdfg/hjkl.sh > /tmp/cron.asdfg.log

    But it didnt work...

    Is that mean I can't change cronjob for root, like a read it somewhere before... thanks...

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    You can edit the file '/var/spool/cron/root' and make the changes directly. Also you can check the cron log '/var/log/cron' file to make sure it is running or not..
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •