bc-clijob history

List the history of a job.

Usage

job history [full] name [last [n] unit]

where
full include full history of job.
name of job whose history to list.
last specify how much history to list.
n duration. Default = 1.
unit of n. Where unit is one or second[s], minute[s], hour[s] or day[s]. Default = day.

read on job

Examples

List history of a job

If not specified, job history will list the last days history.

BeyondCron % job history /examples/webhooks/random-user

 Result Time Run time Timestamp Actions Code Output Message ------- -------------- -------- ------------- -------- ---- ------ ------------------- Missed 08:05:28 today 0 1504054802136 schedule -1 No agent not connected ... Success 10:35:29 today 1 1504054908856 schedule 200 Yes OK Success 10:35:45 today 0 1504055129545 admin 200 Yes OK Success 10:39:18 today 0 1504055168011 schedule 200 Yes OK

List the full history of a job for the last hour

BeyondCron % job history full /examples/webhooks/random-user last hour

    State Time Run time Actions Result Code Output Message --------- -------------- ------------ -------- ------- ---- ------ ------- Starting 10:35:28 today schedule Scheduled 10:35:29 today 00:00:01.183 SUCCESS 200 Yes OK Starting 10:35:44 today admin Scheduled 10:35:45 today 00:00:00.457 SUCCESS 200 Yes OK Starting 10:39:17 today schedule Scheduled 10:39:18 today 00:00:00.443 SUCCESS 200 Yes OK

See also