demo/cron/app.py in the repository.
A function that runs itself on a cron expression. Time is always UTC.
when=takes a standard five-field cron expression, or a named one:@hourly,@daily,@weekly,@monthly,@yearly.- A cron is a deployment: stopping the deployment stops the cron; deploying again makes a new version and the old one is retired.
- Use a volume (as here) or a return value stored elsewhere to keep results; a scheduled container is thrown away after each run.

