Step 15. Define Job Schedule
At the Schedule step of the wizard, select to run the replication job manually or schedule the job to run on a regular basis.
To define a job schedule:
- Select the Run the job automatically check box. If this check box is not selected, you will have to start the job manually to perform VM replication.
- Define scheduling settings for the job:
- To run the job at specific time daily, on defined week days or with specific periodicity, select Daily at this time. Use the fields on the right to configure the necessary schedule.
- To run the job once a month on specific days, select Monthly at this time. Use the fields on the right to configure the necessary schedule.
When you configure the job schedule, keep in mind possible date and time changes (for example, related to daylight saving time transition).
- To run the job repeatedly throughout a day with a set time interval, select Periodically every. In the field on the right, select the necessary time unit: Hours or Minutes. Click Schedule and use the time table to define the permitted time window for the job. In the Start time within an hour field, specify the exact time when the job must start.
A repeatedly run job is started by the following rules:
- Veeam Backup & Replication always starts counting defined intervals from 12:00 AM. For example, if you configure to run a job with a 4-hour interval, the job will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM and so on.
- If you define permitted hours for the job, after the denied interval is over, Veeam Backup & Replication will immediately start the job and then run the job by the defined schedule.
For example, you have configured a job to run with a 2-hour interval and defined permitted hours from 9:00 AM to 5:00 PM. According to the rules above, the job will first run at 9:00 AM, when the denied period is over. After that, the job will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00 PM.
- To run the job continuously, select the Periodically every option and choose Continuously from the list on the right.
- To chain jobs, use the After this job field. In the common practice, jobs start one after another: when job A finishes, job B starts and so on. If you want to create a chain of jobs, you must define the time schedule for the first job in the chain. For the rest of the jobs in the chain, select the After this job option and choose the preceding job from the list.
- In the Automatic retry section, define whether Veeam Backup & Replication should attempt to run the job again if the job fails for some reason. During a job retry, Veeam Backup & Replication processes failed VMs only. Enter the number of attempts to run the job and define time spans between them. If you select continuous schedule for the job, Veeam Backup & Replication will retry the job for the defined number of times without any time intervals between the job sessions.
- In the Backup window section, determine a time interval within which the job must be completed. The backup window prevents the job from overlapping with production hours and ensures it does not provide unwanted overhead on your production environment. To set up a backup window for the job:
- Select the Terminate job if it exceeds allowed backup window check box and click Window.
- In the Time Periods window, define the allowed hours and prohibited hours for VM replication. If the job exceeds the allowed window, it will be automatically terminated.
The After this job function will only start a job if the first job in the chain is started automatically by schedule. If the first job is started manually, jobs chained to it will not be started.