A Volute Ns Task Manager ★

volute-cli worker list volute-cli worker scale --add 2 Cause: Cyclic or missing depends_on Fix: Validate job graph:

name: cleanup-logs command: /usr/bin/rm -rf /var/log/volute/archived/*.gz timeout: 300 retries: 2 on_failure: notify_admin volute-cli task create --file cleanup-logs.yaml 4.3 Run task immediately volute-cli task run cleanup-logs 4.4 Schedule recurring execution volute-cli task schedule cleanup-logs --cron "0 2 * * *" # Daily at 2 AM 5. Managing Task Dependencies (Jobs) Create a job file data-pipeline.yaml : a volute ns task manager

# Enable the task manager service volute-cli task-manager enable volute-cli task-manager status Set default worker count (e.g., 4) volute-cli task-manager config set workers 4 volute-cli worker list volute-cli worker scale --add 2

# Create task curl -X POST -H "Authorization: Bearer $TOKEN" \ -d '"name":"backup","command":"/backup.sh"' \ https://volute.local/api/v1/tasks curl -X POST https://volute.local/api/v1/tasks/backup/run Get status curl https://volute.local/api/v1/tasks/backup/status 11. Glossary of Volute NS Task Manager Commands | Command | Description | |---------|-------------| | task create | Register a new task | | task run | Execute task once | | task schedule | Attach cron trigger | | job run | Execute a DAG of tasks | | worker scale | Adjust concurrent workers | | queue flush | Clear all pending tasks | 12. Conclusion The Volute NS Task Manager provides a robust foundation for automating routine operations and complex workflows. Start with simple scheduled tasks, then gradually introduce dependencies and custom triggers. For advanced use (e.g., dynamic task generation), refer to the Volute NS SDK documentation. Conclusion The Volute NS Task Manager provides a

name: nightly-etl tasks: - name: extract command: ./extract_api.py depends_on: [] - name: transform command: ./transform.py depends_on: [extract] - name: load command: ./load_to_db.sh depends_on: [transform] Register and run:

volute-cli job validate nightly-etl Increase timeout per task: