Open wvengen opened 9 months ago
Note that we'd want to get these dates from the container info.
For Docker, try docker inspect <jobname>
and you'll see StartedAt
and FinishedAt
in the State
.
For Kubernetes, try kubectl describe job <jobname>
and you'll see Start Time and Completed At.
Make sure to stick to the date format as in the example.
Worked on by Roel and Timmy
For running jobs returned by the listjobs endpoint, add
start_time
. For finished jobs returned by the listjobs endpoint, addstart_time
andend_time
.See https://scrapyd.readthedocs.io/en/latest/api.html#listjobs-json for an example output:
(we'll omit
items_url
, andlog_url
has #12)