Closed
Description
Thanks for the script!
While using it, (via cron every 5 min) I get around every 5th time an API error:
[2022/11/07 00:10:04 +0100][ERROR] cURL Error: (22) The requested URL returned error: 504 - Exiting.
(sometimes other errors)
I am using the script with cronic, which sends me a mail every time the code produces output on stderr, which is desired, as you don't want to have cron jobs, which are more or less death since months but you do not see it, as you are not informed. But with the situation right now I get around 100 mails per day with error messages :-)
So I think, it would be nice to add a kind of an error counter (or timer) to the API calls and give it multiple retries over multiple calls?
What do you think?
Metadata
Metadata
Assignees
Labels
No labels