reference
Reference
Reference overview
Task Methods
Method | Parameters | Description |
---|---|---|
createTask | name: string config: TaskConfig | Creates a new task |
scheduleTask | taskId: string schedule: string | Schedules an existing task |
Types
Steps
1
createTask
2
Creates a new task with the specified configuration
3
Parameters:
4
name: string
- Name of the taskconfig: TaskConfig
- Task configuration5
Returns:
Task
6
scheduleTask
7
Schedules a task for execution
8
Parameters:
9
taskId: string
- ID of the task to scheduleschedule: string
- Cron expression or date