Update cron jobs to run every minute and add status monitoring.

- Change runcrons from hourly to every minute
- Add status monitoring via API call
- Update logging for runcrons
- Ensure status API call runs silently
- Maintain same working directory for tasks
This commit is contained in:
2025-11-19 12:50:09 +00:00
parent b55a682286
commit 9956aa9731

View File

@@ -1,2 +1,3 @@
# Exécute la tâche cron toutes les heures
# Exécute la tâche cron toutes les minutes
* * * * * cd /app && python /app/manage.py runcrons > /var/log/runcrons.log
* * * * * curl -s https://status.resk-u.ch/api/push/6zvssVZGQEkLTJACSfHbKoj3rgwArwtp?status=up\&msg=OK\&ping= > /dev/null 2>&1