<aside> ℹ️ The Time Zone for task management is always UTC regardless of the Console Time Zone. You can view the current UTC Time Zone here.
Tasks can not have a delay of more than 15 minutes (900 seconds).
</aside>
The Schedule Manager can be found under Configuration -> Schedules
. Begin by clicking on **Create Task
** on the upper right-hand side.
That will open a window similar to the one depicted in the image to the right with a task that runs every 30 minutes. You change the frequency and timing of the task by changing the data in the minute, hour, day of month, and day of week fields as shown in the next section.
The tasks that this schedule will run can be added after you create the schedule by clicking the Submit
button.
You can define your own time using the Cron format as defined on IBM’s website. You can use this editor and the examples below to create your own Cron entries.
Minute | Hour | Day of Month | Day of Week | |
---|---|---|---|---|
Every 30 minutes | */30 | * | * | * |
Every 12 hours | 0 | */12 | * | * |
Every Tuesday at noon | 0 | 12 | * | 2 |
Every day at 8 am, 2pm and 9pm | 0 | 8,14,21 | * | * |
The first day of every at noon | 0 | 12 | 1 | * |
After you’ve created your schedule, you can add tasks to it by clicking the Create Task
button on the top right. You’ll get a window that looks similar to the image to the right.
You can then change what you want the task to do by opening the Action
drop down and either entering data into, or selecting a value from, the Payload
field/dropdown.
You can also specify a Time Offset
, in seconds, that will delay the task from running after the last task in the list. By default each task is run immediately after the last task in the list. So sequential delays are added up and delays of 0
are treated as simultaneous.
When setting Action
to Power Action
you can select Start the server
, Restart the server
, Stop the server
, ****or Forcibly stop the server
****from the dropdown.
Forcibly stop the server
****is the equivalent of using the kill button on the console tab and ****will send a signal to the Java instance resulting in an unexpected shutdown. You may loose any unsaved data at this point.
When setting Action
to Send command
you’ll get a Payload
input box where you can input the command you’d like to run. The command and it’s response will be sent to the console without checking for it’s success.