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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user