Log time comparisons every 5 minutes
Recipe ToolsMarketing
What it does
When the clock triggers every 5 minutes, this automation creates two time variables and compares them. It logs the result to the job report so someone can track when time1 exceeds or equals time2.
Who it's for
Operations teams who need to monitor time-based conditions and log outcomes for auditing.
How teams use this
Monitor elapsed time thresholds
Track when a process has run longer than expected by comparing current time to a start time. Log each check to the job report for compliance and troubleshooting.
Alert on time-based SLA breaches
Extend this automation to send a notification when time1 exceeds time2, so the team knows an SLA window has passed. Add a Slack or email step after the comparison.
Audit scheduled job execution
Use the logged time comparisons to verify that jobs run on schedule and complete within expected windows. The job report becomes the audit trail.
How it works
- Start the comparison every 5 minutes. The clock fires this automation at a 5-minute interval so the time comparison runs on schedule.
- Set up time variables. Create time1 in UTC 0 timezone and time2 in the Clock app so both are ready for comparison in the next step.
- Compare the times. Check if time1 is greater than or equals time2. When either condition is true, the automation logs the result.
- Log the outcome. Write the comparison result to the job report so the time check is recorded and auditable.