Commit 36e3c1b3 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Renommage fichier de config exemple CRON

parent c131c6ce
Loading
Loading
Loading
Loading

data/cron/cron.dist

0 → 100644
+12 −0
Changes for data/cron/cron.dist: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
MAILTO=bertrand.gauthier@unicaen.fr

#
# Application SyGAL.
#

APP_DIR=/var/www/sygal

# Du lundi au vendredi, chaque heure de 5h à 17h :
0 5-17 * * 1-5 root /usr/bin/php $APP_DIR/public/index.php process-observed-import-results 1> /tmp/sygal-process-observed-import-results.log 2>&1
0 *    * * *   root cd $APP_DIR/data/cron && bash ./test-cines-ws.bash 1> /tmp/sygal-test-cines-ws.log 2>&1
*/15 * * * *   root /usr/bin/php $APP_DIR/public/index.php fetch --service=all --etablissement=UCN 1> /tmp/sygal-import-ws.log 2>&1

data/cron/sygal.dist

deleted100644 → 0
+0 −13
Changes for data/cron/sygal.dist: 0 added lines, 13 removed lines.
Original line number Diff line number Diff line
MAILTO=bertrand.gauthier@unicaen.fr

#
# Application SyGAL.
# Notifications par mail au sujet de l'import.
#
# Lors du déploiement, {APP_ROOT_DIR} est remplacé par le chemin vers le répertoire de l'application.
#

# Du lundi au vendredi, chaque heure de 5h à 17h :
0 5-17 * * 1-5 root /usr/bin/php {APP_ROOT_DIR}/public/index.php process-observed-import-results 1> /tmp/sygal-process-observed-import-results.log 2>&1
0 *    * * *   root cd {APP_ROOT_DIR}/data/cron && bash ./test-cines-ws.bash 1> /tmp/sygal-test-cines-ws.log 2>&1
*/15 * * * *   root /usr/bin/php {APP_ROOT_DIR}/public/index.php fetch --service=all --etablissement=UCN 1> /tmp/sygal-import-ws.log 2>&1