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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.