Add status URL argument
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.