Use RunLater to ping your services on a schedule and ensure they're responding correctly.
Why Use RunLater for Health Checks?
- Simple setup, no monitoring tool required
- Full response logging for debugging
- Automatic retries catch transient failures
- An email when a check still fails after its retries
Basic Health Check
- Create a new request in RunLater
- Enter your health check endpoint (e.g.,
/api/health) - Select GET method
- Schedule:
*/5 * * * *(every 5 minutes)
Getting Alerted
Have your health check endpoint return 200 when healthy and a 5xx when it isn't. A non-2xx response, a timeout or a connection error counts as a failure. After the last retry fails, RunLater emails everyone in the workspace with the status code or error and a link to the run log, within about 5 minutes. While a check keeps failing you get at most one email a day for it, with the number of failed runs, and one more when it succeeds again. To get the same alerts in Slack, Discord or your own endpoint, add the webhook URL under Settings, Failure alerts. There are no SMS alerts.
Set retries to 1 or 2 with a short delay, so a single blip doesn't email you but a real outage does within a few minutes.
Example: Multi-Service Check
Create separate requests for each service:
api.yourservice.com/healthauth.yourservice.com/healthcdn.yourservice.com/ping
Best Practices
- Keep health check endpoints lightweight
- Use appropriate intervals (not too frequent)
- Check from multiple regions if critical
- Review logs regularly for patterns