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 set up cronjob for daily backups

Discussion in 'General Discussion' started by pingo, Feb 22, 2003.

  1. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I have not yet tried setting up a cron job. I understand that it is a function that can call a script at certain times. I would like to set up a cron job for scripts to run in the night as (US) as all my customers are in the US and I have noted that it is running at the exact time where the server is most busy.

    How do I set up a cron job for the backups in WHM - is it something that is done via SSH or how can it be done? Should I disable backups through WHM and then call a script in the script folder? Any help is gratefully received.

    Thanks
    John
     
    #1 pingo, Feb 22, 2003
    Last edited: Feb 22, 2003
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    You can change the time by editing this file:
    /var/spool/cron/root

    Just change the time when /scripts/upcp is done. That's when backups are done.
     
  3. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    Thanks alot Mike

    John
     
Loading...

Share This Page