Example CRON Job Docker container with CMD arguments

Hello Everyone:
Can someone please share an example of a docker container running as a CRON job that would accept and process CMD arguments set in Qovery console.

Many Thanks!!!

Hello Sam,

The arguments specified in the console will be passed as arguments to the container at runtime (see docker run reference)

To illustrate, here is a simple example with a Dockerfile that executes ps at runtime

FROM ubuntu:22.04

By specifying the arguments in the console, it will be passed to the container:

And you can test your image locally by passing the desired arguments:


Please note that this behavior is the same for every service (application / container / jobs)

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.