Skip to content

Toggle Task Event

Enable Task

The enable_task command in the EasyTask CLI allows users to enable a task or a task group by specifying the name of the task or task group.

Parameters

Parameter Description
--name Name of the task or task group.
--instances List of Scheduler instances

🖥️ Basic Usage

To enable a task or task group by its name use the following command in the CLI:

easytask.bin events enable_task --name <task_or_group_name>  --instances INSTANCES



Disable Task

The disable_task command in the EasyTask CLI allows users to disable a task or a task group by specifying name of the task or task group.

Parameters

Parameter Description
--name Name of the task or task group (required).
--instances List of Scheduler instances

🖥️ Basic Usage

To disable a task or task group by its name use the following command in the CLI:

easytask.bin event disable_task --name <task_or_group_name> --instances INSTANCE




Frequently Asked Questions

Q: What is the difference between toggle_task and the individual enable/disable commands? A: Toggle task is a combined reference page; the individual enable_task and disable_task commands work the same way.

Q: Can I toggle a task group? A: Yes, both enable_task and disable_task accept task group names via the --name parameter.


Next Steps