Log messages on a 5-minute schedule
Recipe ToolsMarketing
What it does
When the clock triggers every 5 minutes, this automation creates a tags list and starts a loop. It logs messages to a job report and accumulates items to a staging list on each iteration until the index reaches 5.
Who it's for
Operations teams who need to collect and log data at regular intervals without manual intervention.
Apps used
How teams use this
Monitor batch processes at intervals
Run a scheduled check every 5 minutes to log status updates and collect items into staging. The fixed loop count ensures the process completes in a predictable number of cycles.
Collect data for downstream systems
Accumulate items to a staging list on each cycle so they are ready for batch processing or export. The job report tracks what was collected in each run.
Adjust loop count for different workloads
Change the index condition from 5 to a higher number to process more items per cycle, or lower it to reduce load. Only the condition in step 2 needs to change.
How it works
- Start on a 5-minute schedule. The Clock starts this automation every 5 minutes so it runs consistently throughout the day and collects data at regular intervals.
- Create tags list and begin loop. Build a tags list in Clock and set up a loop that repeats the following steps while the index is less than 5.
- Log message and accumulate items. On each iteration, Clock logs a message to the job report and adds items to the staging list until the loop condition is met.