Skip to content

Schedule

CLI for interacting with the task scheduler. Only supports running a single task.

run_task(task_name)

Force the execution of a task by name.

Source code in gso/cli/schedule.py
@app.command()
def run_task(task_name: str) -> None:
    """Force the execution of a task by name."""
    for s in ALL_SCHEDULES:
        if task_name == s.__name__:
            s()