bc-clijob delay

Set the delay period of a trigger job.

Usage

job delay name n unit

where
name of job whose delay to set.
n length of delay.
unit of delay length. Where unit is one of second[s], minute[s] or hour[s].

write on name

this command will set the job type to trigger, and clear any previously set command, email, host, input, message, subject, user & webhook values, as they are unused by triger jobs.

Example

Set a delay of 0 seconds

BeyondCron % job delay /examples/email/trigger 0 seconds
BeyondCron % job list full trigger

----------- ----------------------- Name /examples/email/trigger Description Simple trigger job ... Delay 0 seconds ...

Set a delay of 2 minutes

BeyondCron % job delay /examples/email/delay 2 minutes
BeyondCron % job list full delay

----------- --------------------- Name /examples/email/delay Description Simple delay job ... Delay 2 minutes ...

See also