commands – job show
Show the details of a job.
Usage
job show [full] name [change]
where
full | include full details of job. i.e. empty fields and group in which inherited properties are defined. |
name | of job whose details to show. |
change | id of job as listed by job changes, or relative change index. |
read on name.
Examples
Show details of a job
BeyondCron % job show /demo/sales/distribute
----------- ------------------------------------------------------------------- Name /demo/sales/rates Description Download daily exchange rates Mode Enabled Type Webhook URL http://example.com/historical/{{ time -1d yyyyMMdd }}.json Method Get Output {{ demoDir }}/out/rates.json Timezone US/Pacific Schedules Daily at 00:00:01 Properties Type Name Value --------------- --------- -------------------------------- parameter app_id 29413db550bc563ahabad7357a40c76a parameter base USD variable demoDir /var/opt/demo
Show full details of a job
BeyondCron % job show /demo/sales/distribute
----------- ------------------------------------------------------------------- Name /demo/sales/rates Description Download daily exchange rates Mode Enabled Type Webhook URL http://example.com/historical/{{ time -1d yyyyMMdd }}.json Method Get Content Output {{ demoDir }}/out/rates.json Calendar Timezone US/Pacific Conditions Triggers Schedules Daily at 00:00:01 Properties Type Name Value Group --------------- --------- -------------------------------- ----- parameter app_id 29413db550bc563ahabad7357a40c76a parameter base USD variable demoDir /var/opt/demo /demo
Show details of an earlier version of a job
BeyondCron % job changes /demo/sales/rates
Time Change Action User Host ------------------- -------- -- ------- ----- ---------------- 17:26:29 16/07/2018 05ecac01 0 Updated admin demo.example.com 17:26:29 16/07/2018 4c2a7d98 -1 Updated admin demo.example.com 17:22:00 16/07/2018 ad8187a3 -2 Updated admin demo.example.com 17:21:59 16/07/2018 b3afae4b -3 Updated admin demo.example.com 14:04:29 29/05/2018 210a341d -4 Updated admin demo.example.com 17:25:12 28/05/2018 fe123371 -5 Updated admin demo.example.com 16:25:53 22/03/2018 d2d3418d -6 Updated admin demo.example.com 19:09:23 07/03/2018 92e97e93 -7 Created admin demo.example.com
BeyondCron % job show $$ fe123371
----------- ---------------------------------------------------------- Name /demo/sales/rates Description Download daily exchange rates Mode Bypass Type Webhook URL https://rates/{{ date }}.csv Method Get Output /var/opt/demo/out/rates-{{date}}.csv Timezone US/Pacific Schedules Daily at 00:00:01 Properties Type Name Value --------------- --------- ----------------------- variable date {{ time -1d yyyyMMdd }} variable demoDir /var/opt/demo
Show details of an earlier version of a job using the relative change index
Versions of a job can also be referenced using their relative change index, with 0 being the current version, -1 being the previous version, etc…
BeyondCron % job show /demo/sales/rates -5
----------- ---------------------------------------------------------- Name /demo/sales/rates Description Download daily exchange rates Mode Bypass Type Webhook URL https://rates/{{ date }}.csv Method Get Output /var/opt/demo/out/rates-{{date}}.csv Timezone US/Pacific Schedules Daily at 00:00:01 Properties Type Name Value --------------- --------- ----------------------- variable date {{ time -1d yyyyMMdd }} variable demoDir /var/opt/demo
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 sql
- job start/kill
- job status
- job subject
- job timezone
- job trigger
- job url
- job user
- job variables