Log environment flag status every 5 minutes
Recipe ToolsMarketing
What it does
When the clock triggers every 5 minutes, this automation checks if the environment flag is true. If so, it logs a message to the job report for monitoring.
Who it's for
Operations teams who need to track environment flag changes in a centralized log.
How teams use this
Monitor environment flag state continuously
Track when the environment flag changes to true by logging every 5 minutes. The job report becomes a complete audit trail of flag status over time.
Alert teams when flag is active
Add a Slack notification step so teams get notified immediately when the flag is true instead of checking the job report manually.
Log different messages by environment
Include a condition to check which environment the flag belongs to and log a specific message for each one. This helps teams understand which system is affected.
How it works
- Run on a 5-minute schedule. The Clock starts this automation every 5 minutes to check the environment flag status consistently throughout the day.
- Check if flag is true. Evaluate whether the environment flag property is set to true before proceeding to log the result to the job report.
- Log message to job report. When the flag is true, the Clock writes a message to the job report so the flag state is recorded and visible for review.