Scheduled jobs

Check plans with zenifra plans --type jobs and create the Job with a ready-made image and a five-field cron in UTC. Jobs are billed per whole minute and do not use exposure, port, or instances:

zenifra create project --name nightly-report --plan job-basic --payment-mode per_minute --config @examples/job-project.json

Follow the runs:

zenifra project runs --project <project-id> --page 1 --limit 20
zenifra project runs logs --project <project-id> --run <run-id>
zenifra project runs cancel --project <project-id> --run <run-id>

runs cancel cancels only the selected run and waits up to 30 seconds for a safe finish; the cron keeps scheduling new runs. Use zenifra project stop to pause the project and stop future runs.

Last updated on

On this page