commands – job 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
- 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 image
- job input
- job list
- job message
- job output
- job property
- job schedule
- job show
- job sql
- job start/kill
- job status
- job timezone
- job trigger
- job url
- job user
- job variables