Log scheduled messages every 5 minutes
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When the clock triggers every 5 minutes, this automation creates variables and logs messages to the job report. Someone can review the job report to confirm the automation ran on schedule.
Who it's for
Engineering teams who need to verify scheduled task execution and monitor automation performance.
How teams use this
Monitor scheduled task health
Run this automation every 5 minutes and log the results to the job report. Someone can check the report to confirm the task executes on schedule without opening logs elsewhere.
Track automation performance over time
Log execution timestamps and variable states to the job report so the team can analyze patterns in how often the automation runs and what values it processes.
Alert when execution is missed
Add a condition to check if the last log entry is older than 10 minutes and include a notification step if the schedule has been missed. The core logging stays the same.
How it works
- Trigger every 5 minutes. The clock starts this automation on a 5-minute interval so it runs consistently throughout the day without manual intervention.
- Create INT and STR variables. Set up an integer variable and a string variable in the Clock app to hold data for the log entries that follow in the job report.
- Log execution details to job report. Write the variable values and execution timestamp to the job report so someone can see when the automation ran and what data it processed.