oehmiche / manifoldcf-jobs-timeline

Simple jQuery plugin providing an overview of all scheduled manifoldcf jobs.
MIT License
4 stars 0 forks source link

compare scheduled jobs with effective history #1

Open ruKurz opened 7 years ago

ruKurz commented 7 years ago

Would be great if one could see the scheduled time (duration) in comparison to the effectiv execution time/duration. This would enable you to adjust the job's configuration.

oehmiche commented 7 years ago

Wow, that sounds like a very useful feature. - The next level would be automatic adjustment (à la self-healing ;-)) I am not sure, whether the JSON-API provides these historic data: the status object only contains the data of the last run (see https://manifoldcf.apache.org/release/release-2.5/en_US/programmatic-operation.html#Job+status+objects).

schuch commented 7 years ago

Historic start/end times can be retrieved via the crawler history. There is an API resource for that: http://localhost:8345/mcf-api-service/json/repositoryconnectionhistory/test?activity=job+start&activity=job+end