Private
coreCreates a new Schedule
The name of the Schedule
The Cron minute string
The Cron hour string
The Cron day of week string
The Cron day of month string
Whether to enable the Schedle on creation
Creates a Schedule that runs at 12am every day
await wisp.api.Schedules.Create("Example", "0", "0", "*", "*", true);
Creates a new Task for a Schedule
The ID of the Schedule to create a Task for
The Task action. One of: ["command", "power", "backup"]
The time offset of the Task
The payload to provide to the Task
ℹ️ Payload is not required for backup action!
Retrieves all of the Schedules for the Server
Updates the values of the Schedule
The ID of the Schedule
The name of the Schedule
The Cron minute string
The Cron hour string
The Cron day of week string
The Cron day of month string
Whether to enable the Schedle on creation
Update the Task
The ID of the Schedule that contains the Task
The ID of the Task
The Task action. One of: ["command", "power", "backup"]
The time offset of the Task
The payload to provide to the Task
ℹ️ Payload is not required for backup action!
Generated using TypeDoc
Handles interactions with Server Schedules