pi_portal.cli_commands.cli_machine.task_scheduler.TaskSchedulerCommand

class pi_portal.cli_commands.cli_machine.task_scheduler.TaskSchedulerCommand[source]

Bases: CommandBase, CommandManagedStateMixin

CLI command to start the task scheduler service.

invoke() None[source]

Invoke the command.

load_state(debug: bool, file_path: str = '/etc/pi_portal/config.json') None

Load and configure state.

Parameters:
  • debug (bool) – Enable or disable debug logs.

  • file_path (str) – The path to the file to load.