← Back to plugin index

Task Schedule

Description
Defines scheduling information about a task.
Type name
TaskSchedule
Class
com.airlock.iam.servicecontainer.app.application.configuration.TaskSchedule
May be used by
Properties
Interval (interval)
Description
The time between two executions of the task. The interval can be specified in one of the following formats (where n is a positive integer: n days, n hours, n minutes, n seconds, never)
Attributes
String
Mandatory
Suggested values
never, 10 seconds, 20 seconds, 30 seconds, 1 minute, 2 minutes, 5 minutes, 10 minutes, 15 minutes, 20 minutes, 30 minutes, 45 minutes, 1 hour, 2 hours, 3 hours, 4 hours, 5 hours, 6 hours, 8 hours, 10 hours, 12 hours, 1 day, 2 days, 3 days, 4 days, 5 days, 6 days, 7 days, 10 days, 14 days, 20 days, 30 days, 60 days, 90 days
First Time (firstTime)
Description
The time of the first execution of the task in the form hh:mm:ss (e.g. 14:48:56). Leave this value empty to execute the task the first time when the scheduler service is started. Set it to after-interval to execute the task for the first time after waiting as specified in interval after the service has been started.
Attributes
String
Optional
Example
11:48:56
Example
after-interval
Name (name)
Description
A task name that is used in log statements and in the service console. It helps identifying the task. Do not use very long names.
Attributes
String
Mandatory
Example
Task 1
Example
Example Task
YAML Template (with default values)

type: TaskSchedule
id: TaskSchedule-xxxxxx
displayName: 
comment: 
properties:
  firstTime:
  interval:
  name:
  task: