# 列出所有任务
python system_management/scheduler/task_management.py list

# 只显示活跃任务
python system_management/scheduler/task_management.py list --active-only

# 查看任务详情
python system_management/scheduler/task_management.py show 1

# 更新任务Cron表达式
python system_management/scheduler/task_management.py update <task_id> --cron "0 10 * * *"

# 启用任务
python system_management/scheduler/task_management.py toggle 1 --activate

# 禁用任务
python system_management/scheduler/task_management.py toggle 1 --deactivate

# 手动执行任务
python system_management/scheduler/task_management.py run 1

# 添加新任务
python system_management/scheduler/task_management.py add \
  --name "hourly_data_check" \
  --type "processor" \
  --module "processors.data_checker" \
  --cron "0 * * * *"