prox routine
Routines are scheduled prompts that run agents autonomously on a cron schedule. They are defined in agent.yaml and managed here.
Commands
routine list
prox routine list --agent ledger
# ID NAME SCHEDULE STATUS
# daily-ap-scan Daily AP Validation 0 6 * * * active
# weekly-discount-report Weekly Discount Report 0 8 * * MON active
routine create
prox routine create \
--agent ledger \
--id daily-ap-scan \
--prompt "Run full AP validation across all pending invoices." \
--cron "0 6 * * *"
routine pause
prox routine pause daily-ap-scan
routine resume
prox routine resume daily-ap-scan
routine run
Trigger a routine immediately (outside its schedule).
prox routine run daily-ap-scan
routine logs
prox routine logs daily-ap-scan --limit 10