-
Notifications
You must be signed in to change notification settings - Fork 0
Automation Examples
John Jansen edited this page Feb 27, 2026
·
1 revision
What you can actually automate with anvil.
anvil add -s "*/30 * * * *" "Check GitHub for new untriaged issues. For each unlabeled issue, read the content and apply appropriate labels (bug, feature, docs, question)."
Every 30 minutes, your issue queue stays organized.
anvil add -s "0 9 * * 1-5" "Review open pull requests older than 3 days. Post a summary comment on each and ping the author if no activity in 48h."
Weekday mornings, get a summary of PRs that need attention.
anvil add -s "0 2 * *" "Read the latest CHANGELOG.md and update README sections that reference version numbers or new features."
After midnight, update docs when versions change.
anvil add -s "" "Migrate the database schema to add the new users table"
Empty schedule means run once and delete.
anvil add -s "persistent" "Monitor a queue and process items as they arrive"
For event-driven workflows. The task runs continuously, checking for new work each cycle.
anvil add -p 5 -s "0 9 * * 1" "Run npm outdated and file issues for dependencies with security vulnerabilities"
Priority p5 so it does not block important work.
anvil add -s "0 */4 * * *" "Check service health endpoints and report status"
Every 4 hours, verify services are up.