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 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:
    428
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    4
    Trophy Points:
    343
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pingo

    pingo Well-Known Member

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

    John
     
    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