There are cases where it makes sense to provide separate sync schedules for specific resource handlers. To create such a schedule, go to the specific Resource Handler instance you'd like to schedule on its own, click the "Servers" tab, then click the button labeled "Sync VMs from resource handler". This action will kick off a new CloudBolt job -- note the Job ID for this job.
To create a new "Recurring Job" for this sync, go to "Admin > Recurring Jobs", then select "Add from job" which is accessible from the "Add a recurring job" button drop-down. In the "Add a Recurring Job" dialog, enter a name, cron expression, and the Job ID noted above. For example, to sync every hour on the hour, enter the expression: 0 0 * ? * *
You will now have a new Recurring Job that will sync the specified resource handler according to the cron schedule specified.
Note: The main "Sync all Resource Handlers" recurring job will continue to sync ALL resource handlers. If this is not desired, then the above process should be repeated for each resource handler.
0 Comments