- 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
4 lines
248 B
Plaintext
4 lines
248 B
Plaintext
# 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
|