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.

Change the date of monthly system cron job

Discussion in 'General Discussion' started by kFam, Dec 16, 2011.

  1. kFam

    kFam Member

    Joined:
    Dec 16, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello everyone,
    I have a new VPS server that works with cpanel and I wanted to know if possible to change the date of the monthly cron job through WHM?

    This is because the monthly backup is done on the 7th of every month.


    Thanks in advance
     
    #1 kFam, Dec 16, 2011
    Last edited: Dec 16, 2011
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The backup system is designed to generate new monthly backups once the existing monthly backups are one month old. Thus, the cron job for "cpbackup" runs daily by default, but new backups are only generated when the existing backups are one month old. If you only have the "cpbackup" cron job running one time per month, you risk the backup files being newer than one month old and thereby skipping a month.

    Thank you.
     
  3. kFam

    kFam Member

    Joined:
    Dec 16, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Thanks,
    So that means that if I delete the existing backup and I create it again in 1th of the month it will change the date of the monthly backup to 1th of every month?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Essentially, yes. If no backups exist on that date, then new backups will be generated. Then, one month later, backups will be generated again. You could also manually change the date of the monthly backup directory to achieve the same result.

    Thank you.
     
Loading...

Share This Page