bc-clijob image

Set the container image on which to run a jobs’ command.

Usage

job image name imagename

where
name of job to modify.
imagename to execute the jobs’ command within.

write on name.

command & user for setting the command jobs’ command and user.

this command will set the job type to container.

in order to execute container jobs, bc-agents must be configured with a container service such as Mesos.

Examples

Set the image of a job

BeyondCron % job image /examples/container/backup ubuntu
BeyondCron % job list full backup

----------- -------------------------- Name /examples/container/backup Description Business day backup ... Image ubuntu ...

See also