Instances can be re-configured or restarted based on scheduled events. You can set a specific time and interval for scheduling automatic instance reconfiguration.
For scheduling events, perform the following tasks:
Click theConfiguration tab and select the configuration.
Click theGeneral sub tab > Scheduled Events sub tab.
Click the configuration tab and then select the configuration from the list that appears.
Click General > Scheduled Events sub tab.
Click the New button.
Configure the following properties:
Restart Instances — This scheduled event will restart all the deployed and running instances for the configuration.
Reconfig Instances — This scheduled event will re—configure all the deployed and running instances for the configuration.
Custom Command Line — Provide the absolute path to a file that will be executed.
The configured time when the event will start. Select the hour and minutes value from the drop-down box.
Every Day — Starts the event specified every day at the specified time.
Specific Days — Starts the event specified at specific days.
1. Days — Specify any day from Sunday to Saturday.
2. Dates — Specify any day of the month from 1 to 31 as comma separated entries. E.g. 4,23,9
Specific Months — Starts the event specified at the specific time and month. Specify month from January to December.
Start the specified event after this time period.
1. Every Hours — Select the number of hours from the drop-down box.
2. Every Seconds — Enter the number of seconds in the text field.
To schedule an event through CLI, execute the following command:
wadm> create-event --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 --time=10:10 --command=restart
See CLI Reference, create-event(1).