Execution time stored in variable - VisualCron - Forum

Community forum

Bob Burt
2021-10-28T13:28:14Z
I want to write the amount of time it took to run a specific job to a log file. Not sure how I can do that.

Is there a variable I can use?

I would also like to evaluate how long it took a specific task to run. How can I capture that?
Casper
2021-11-03T22:28:29Z
Originally Posted by: Bob Burt 

I want to write the amount of time it took to run a specific job to a log file. Not sure how I can do that.

Is there a variable I can use?

I would also like to evaluate how long it took a specific task to run. How can I capture that?



Hi, Bob Burt.
You can create Job A with Write File task with content (replace job id to id of Job B): {JOB(jobId|ExecutionTime|hh\:mm\:ss\.fff)}

Then in job which will be executed (for example Job 😎, you can create a flow - On complete to run Write File task.
thomas
2021-11-04T10:03:26Z
In addition to Caspers solution, you can run the Job report task
Scroll to Top