feat(webhooks): add script to retry failed webhooks and log results

Introduce a new script to process and retry failed webhooks stored in a designated directory. The script reads JSON files containing webhook payloads and error information, attempts to resend the payloads, and logs the success or failure of each retry. Additionally, it creates a processed directory to organize successfully retried webhooks. This enhances error handling and recovery for webhook failures.
This commit is contained in:
sebseb7
2025-08-04 16:43:56 +02:00
parent e5f50d3db3
commit f1ef4a167e
3 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
alwaysApply: true
---
the server is always running an can be restarted with pm2 restart 3