bc-clijob enable/disable/bypass

Enable/disable/bypass a job.

Usage

job (enable|disable|bypass) name

where
enable job. Enabled jobs are executed according their schedules and/or conditions.
disable job. Disabled cannot be executed, and any conditions which reference them will
always return false.
bypass job. Bypassed are not executed, and always have a job result of success. Any
conditions which reference them will return true, if they expect a success result.
name of job to enable, disable or bypass.

execute on $(arg)name%

in order to enable a job, it must be completely defined and ready to execute/schedule.

Examples

Enable a job

BeyondCron % job enable /examples/server/backup
BeyondCron % job list /examples/server/backup

Job Type Mode Description -------------- ------- ------- ------------------- /examples/server/backup Command Enabled Business day backup

Disable a job

BeyondCron % job disable /examples/server/backup
BeyondCron % job list backup

Job Type Mode Description ----------------------- ------- -------- ------------------- /examples/server/backup Command Disabled Business day backup

Bypass a job

BeyondCron % job bypass /examples/server/backup
BeyondCron % job list backup

Job Type Mode Description ----------------------- ------- ------ ------------------- /examples/server/backup Command Bypass Business day backup

Attempt enable an incompletely defined job

BeyondCron % job enable /examples/server/reboot

Job has no start action

See also