forked from dnnsoftware/Dnn.AdminExperience.Extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
Scheduler Commands
CBPSC edited this page Feb 16, 2017
·
4 revisions
- get-task
- list-tasks
- set-task
Retrieves details for the specified DNN Schedule item
Parameters
--id
- id
- Type: Integer
- Required: Yes
- Description: The Schedule ID for the item you want to retrieve. If you pass the ID as the first value after the command name, you do not need to explicitly use the --id flag name.
Example usage: "get-task 11" - Gets info about the task with task id 11.
Retrieves a list of schedule items based on the specified criteria
Sets or updates properties of the specified schedule task
Parameters
--id
--enabled
-
id
-
Type: Integer
-
Required: Yes
-
Description: The Schedule ID of the task you want to update. You can avoid explicitly typing the --id flag by just passing the Schedule ID as the first argument.
-
enabled
-
Type: Boolean
-
Required: No
-
Description: When true, the specified task will be enabled. When false, the specified task will be disabled.
Example usage: "set-task 3 --enabled false" - Sets the task with the id of 3 to being disabled.