Class ScheduleTaskBuilder

Constructors

Properties

action: ScheduleActionType = 'command'
continue_on_failure: boolean = false
payload: string
time_offset: number = 0

Methods

  • Depending on the action type the payload is

    • the command that will be executed (e.g. "say Hello World!")
    • a SERVER_SIGNAL (e.g. SERVER_SIGNAL.START)
    • a list of ignored files for a backup (e.g. cache, logs)

    Parameters

    • payload: string

      The payload for the task.

    Returns ScheduleTaskBuilder