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.

wich cron job where to alter the time of backup?

Discussion in 'General Discussion' started by bjarne, Sep 6, 2003.

  1. bjarne

    bjarne Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    Anyone please help me:)

    Wich script is trigging of the backup and where was that cron job, I know I can change this one, I just don't remember where and what?

    cPanel.net Support Ticket Number:
     
  2. paint

    paint Well-Known Member

    Joined:
    Nov 10, 2002
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    The cron job that runs /scripts/upcp i think also does the backup if i remember correctly.

    cPanel.net Support Ticket Number:
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Yes, it's done right after the upgrade, or upgrade check if no upgrade is being done.

    The file to edit the time it's done is
    /var/spool/cron/root

    cPanel.net Support Ticket Number:
     
  4. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    To run backup every night at 3 o'clock:

    /var/spool/cron/root

    pico /var/spool/cron/root . Edit the following line to

    0 3 * * * /scripts/upcp

    John
     
  5. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    You should edit your cron jobs using crontab.

    man crontab

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page