Commit 9828a8b5 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Modif config exemple CRON

parent 36e3c1b3
Loading
Loading
Loading
Loading
+16 −5
Changes for data/cron/cron.dist: 16 added lines, 5 removed lines.
Original line number Diff line number Diff line
MAILTO=bertrand.gauthier@unicaen.fr

#
# Application SyGAL.
#

MAILTO=bertrand.gauthier@unicaen.fr
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
# Traitements en fonction des résultats de l'import.
# (du lundi au vendredi, chaque heure de 5h à 17h)
#
0 5-17 * * 1-5 root     php $APP_DIR/public/index.php process-observed-import-results 1> /tmp/sygal-process-observed-import-results.log 2>&1


# Test du WS de validation de fichier du CINES.
# (toutes les heures)
#
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


# Import des données des établissements.
## (toutes les 15 minutes)
#
*/15 * * * *   root     php $APP_DIR/public/index.php fetch --service=all --etablissement=UCN 1> /tmp/sygal-import-ws.log 2>&1