Oops.
Thanks!
I finally managed to get the latest syncjobs since yesterday.
Maybe it can be useful to someone:
export yesterday=$(date -d "now - 1 day" +'%s')
# sync job since yesterday
curl -s -k -H 'Authorization: PBSAPIToken=X'...
Sorry but I only find "verification job" not sync job.
This is what I do:
curl -k -H 'Authorization: PBSAPIToken=X' https://NODE:8007/api2/json/nodes/NODE/tasks | jq
output:
{
"data": [
{
"endtime": 1632760892,
"node": "localhost",
"pid": 219153,
"pstart": 270099...
Hi,
Is there a way to get the last sync job, of a specific datastore, from the command line?
I need this information to implement a monitoring system different from the integrated one that uses the email.
Thanks!