commands – job 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 Kubernetes.
Examples
Set the image of a job
BeyondCron % job image /examples/container/backup ubuntu
BeyondCron % job show $$
----------- -------------------------- Name /examples/container/backup Description Business day backup ... Image ubuntu ...
See also
- host acl
- job add
- job calendar
- job changes
- job command
- job condition
- job content
- job copy
- job delay
- job delete
- job description
- job diff
- job email
- job enable/disable/bypass
- job history
- job host
- job input
- job list
- job message
- job output
- job property
- job schedule
- job show
- job sql
- job start/kill
- job status
- job subject
- job timezone
- job trigger
- job url
- job user
- job variables