bc-clijob host

Set the host on which to run a jobs’ command.

Usage

job host name host

where
name of job to modify.
host to execute the jobs’ command on. By default host must be a known host. To disable host checking, set the environment variable BEYONDCRON_CHECK_HOSTS_EXIST to false.
If host is example.com, the job will be executed using the echo utility.

write on name, and host acl permission on host.

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

this command will set the job type to command, and clear any previously set delay, email, image, message, subject & webhook as they are unused by command jobs.

Examples

Set the host of a job

BeyondCron % job host /examples/server/backup server1
BeyondCron % job list full backup

----------- ----------------------- Name /examples/server/backup Description Business day backup ... Host server1 ...

See also