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.

HELP...backup problem

Discussion in 'General Discussion' started by m0bster, May 6, 2002.

  1. m0bster

    m0bster Member

    Joined:
    Mar 18, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Can someone please tell me how to set the backup to do its thing at like 2 am instead of 9 am? THis is KILLING my loads doing it at this time of the day! It usually does it until well after noon and the loads are WAY up! Please tell me what to change and wherer to change it to get it to run at like 12-2 am.
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You will need to edit the cron file to change the timing for backup. If you have an root access to your server then you can edit the below file:

    pico /var/spool/cron/serverusername

    0 2 * * * /scripts/cpbackup

    The above cron job will execute the cpbackup script at 2 am.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You need to login as root through SSH and edit the root file.

    pico /var/spool/cron/root
     
Loading...

Share This Page