Log time differences every 5 minutes
Recipe ToolsMarketingWorkatoDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation calculates time differences using custom code. The results are logged to the job report so the team can review elapsed time between events.
Who it's for
Engineering teams who need to monitor time intervals and log calculations for performance tracking.
How teams use this
Track elapsed time between events
Calculate the seconds between two timestamps every 5 minutes and log the result to the job report. The team reviews the report to see how much time has passed between operations.
Monitor system performance intervals
Use the time difference calculation to measure how long operations take. Add a filter to only log intervals above a certain duration threshold for focused performance analysis.
Audit timing across environments
Run the same 5-minute schedule in multiple environments and log time differences to compare performance. Each environment writes to its own job report for separate analysis.
How it works
- Run on a 5-minute schedule. The automation starts every 5 minutes to calculate and log time differences consistently throughout the day.
- Execute ruby code to subtract time. Run custom code in Workato Custom Code that subtracts timestamps and returns the difference in seconds for logging.
- Log results to job report. Write the calculated time difference to the job report so the team can review elapsed time and performance metrics.