commandsjob subject

Set the subject of an email job.

Usage

job subject name subject

where
name of job whose subject to set.
subject of email. See variables for available variables that can be included.

subject

BeyondCron job {{ event.name }} {{ event.result }}

write on name

email & message for setting the email jobs address and message.

this command will set the job type to email.

Examples

Set a static email subject

BeyondCron % job subject /examples/email/simple Simple message
BeyondCron % job show $$

----------- -------------------------------- Name /examples/email/simple Description Send a message to John Smith ... Subject Simple message ...

Set a subject which includes template variables

BeyondCron % job subject /examples/email/triggered Job {{ event.name }} {{ event.result }}
BeyondCron % job show $$

----------- -------------------------------- Name /examples/email/triggered Description Send a message when triggered ... Subject Job {{ event.name }} {{ event.result }} Subject Job {{ event.name }} {{ event.result }} ...

See also