Skip to content

Duplo CLI Subcommand to Manage Cronjobs

The duploctl command line tool provides a subcommand for managing cronjobs within a tenant.

Usage

To interact with cronjob resources, use the following duploctl syntax:

duploctl cronjob <action>

Actions

list

Retrieve a list of all cronjobs in the current tenant.

duploctl cronjob list

find

Find a specific cronjob by its name.

duploctl cronjob find <cronjob-name>

update_image

Update the container image used in a cronjob.

duploctl cronjob update_image <cronjob-name> <image-name>

update_cron_schedule

Update the container cron schedule used.

duploctl cronjob update_schedule <cronjob-name> <cron_syntax> // Exmaple cron-syntax: '*/5 * * * *' (In single quotes)