mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
c337193292
Lufi has its own user for the web service, it should also use it for the cron it installs
11 lines
648 B
Text
11 lines
648 B
Text
# Génération des statistiques. Tous les jours, à 5h.
|
|
0 5 * * * __USER__ cd "__FINALPATH__" && /usr/local/bin/carton exec script/lufi cron stats
|
|
|
|
# Suppression des adresses IP obsolètes. Tous les jours, à 6h.
|
|
0 6 * * * __USER__ cd "__FINALPATH__" && /usr/local/bin/carton exec script/lufi cron cleanbdd
|
|
|
|
# Suppression des images dont le délai a expiré. Tous les jours, à 6h.
|
|
0 6 * * * __USER__ cd "__FINALPATH__" && /usr/local/bin/carton exec script/lufi cron cleanfiles
|
|
|
|
# Vérification de l'occupation du dossier des images. Tous les jours, à 7h.
|
|
0 7 * * * __USER__ cd "__FINALPATH__" && /usr/local/bin/carton exec script/lufi cron watch
|