Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


barefootguru
2019-05-21T03:34:29Z
There's a Log window in the interface, and a log_server file created in VisualCron\log directory. Both of these have entries in addition to tasks, and the task start & end are broken into separate lines.

Is there a way to automatically export a listing of all tasks which have run, with each task on a new line?

Something like:

Job name, start time, finish time, return code
Sponsor
Forum information
Support
2019-05-21T09:13:45Z
I recommend looking at the Web API. Go to Server settings and enable it and hit the documentation url. With that you can run log queries in browser with columns like you describe.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
barefootguru
2019-05-21T10:52:27Z
Thanks, that looks close to what I'm after.

Can I pass it a wildcard task ID?

If I run this:

http://localhost:8001/VisualCron/text/Log/Task/List?token=xxx&startDate=2019-05-21%2000:00:00&endDate=2019-05-21%2023:59:59

I only receive the headers, despite tasks having run today.
barefootguru
2019-05-21T22:24:47Z
Looks like I need to first submit a VisualCron/xml/Job/List to obtain a list of all Task IDs, then run a VisualCron/xml/Log/Task/List per task — can you confirm please?

BTW the /VisualCron/text/Docs for VisualCron/xml/Job/List appears to be missing that you need to pass the token.
Support
2019-05-22T09:34:05Z
Originally Posted by: barefootguru 

Looks like I need to first submit a VisualCron/xml/Job/List to obtain a list of all Task IDs, then run a VisualCron/xml/Log/Task/List per task — can you confirm please?

BTW the /VisualCron/text/Docs for VisualCron/xml/Job/List appears to be missing that you need to pass the token.



Yes, you need to get the Job is first. You can either authenticate with token or use username and password in each request.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Users browsing this topic
Scroll to Top