Skip to content

Add status URL argument

Choose a tag to compare

@baptistebronsin baptistebronsin released this 19 Oct 20:49
· 7 commits to main since this release

Added the STATUS_ENDPOINT argument

This argument allows you to specify an HTTP endpoint that the script will call only if it exits successfully (status code 0). This is useful for monitoring the script's execution and ensuring it completed as expected.

Example use case:

If you use Uptime Kuma, you can create a "Push" monitor linked to this endpoint. Uptime Kuma will then alert you (e.g., via email) if it doesn’t receive the expected HTTP call within a specified timeframe, indicating the script may have failed or not run at all.