CYCLS_API_KEY.
1. Write the job
A scheduled function is called with no arguments, so it computes its own parameters.reports.py
2. Test before scheduling
cycls run. The local run executes the
function once so you can check the output.
3. Deploy
4. Confirm it runs
5. Change or remove the schedule
Source is the truth. Edit the cron expression and redeploy to change it. Delete theschedule= argument and redeploy to remove it, which the deploy output
confirms with Schedule removed. cycls rm removes both the deployment and its
schedule.
6. Hand the report to users
Point an agent at the same volume and let it read the files.assistant.py
Writing safe scheduled jobs
A safe job looks like this:
What cannot be scheduled
- Apps and agents. They serve HTTP. Schedule a function that calls them.
- Functions that take a
port. The port contract deploys a server, which a schedule cannot fire.
Next
Python reference
Every exported name in one table.