Skip to main content

Jobs and Cronjobs

Workloads can be of varying types - stateless services, stateful ones, batch processing jobs, scheduled cronjobs etc. Argonaut now supports Jobs and Cronjobs workload types for containers that run to completion (as opposed to services that are expected to run continuously).

This can be setup using either the UI (coming soon) or the CLI.

Create a Job

A job is essentially a container that runs to completion, and runs exactly once. The structure of the job workload type is the listed here

The key parts are the command, args, argonaut.serviceType, and job sections.

More details on the specific parameters can be found here.

Create a Cronjob

A cronjob is a container that runs to completion, and runs on a specified schedule. The structure of the cronjob workload type is the listed here

The key parts are the command, args, argonaut.serviceType, and cronjob sections.

More details on the specific parameters can be found here.