Batch : configuration
This commit is contained in:
parent
c76507a2da
commit
9e6bc85a34
11
apps/batch/etc/cron.d/clients
Normal file
11
apps/batch/etc/cron.d/clients
Normal file
@ -0,0 +1,11 @@
|
||||
MAILTO=supportdev@scores-decisions.com
|
||||
LANG=fr_FR.UTF-8
|
||||
###########
|
||||
# Clients #
|
||||
###########
|
||||
20 18 * * 1-6 scores php /home/scores/batch/current/bin/clientSfrIndicateur.php --cron --load >> /home/scores/batch/shared/log/SfrIndicateur.log
|
||||
30 20 * * 1-6 scores php /home/scores/batch/current/bin/clientSfrSurv.php --cron --in >> /home/scores/batch/shared/log/SfrSurv.log 2>&1
|
||||
20 00 * * 1-6 scores php /home/scores/batch/current/bin/clientSfrIndicateur.php --cron --evaluate >> /home/scores/batch/shared/log/SfrIndicateur.log 2>&1
|
||||
00 22 * * * scores php /home/scores/batch/current/bin/clientRapportsTexte.php --site >> /home/scores/batch/shared/log/rapportsTextesWeb.log
|
||||
00 23 * * * scores php /home/scores/batch/current/bin/clientRapportsTexte.php --ftp >> /home/scores/batch/shared/log/rapportsTextesFtp.log
|
||||
00 07 * * 1-5 scores php /home/scores/batch/current/bin/clientRrgSurv.php --cron --since flux --from log >> /home/scores/batch/shared/log/rrgsurv.log 2>&1
|
17
apps/batch/etc/cron.d/data
Normal file
17
apps/batch/etc/cron.d/data
Normal file
@ -0,0 +1,17 @@
|
||||
MAILTO=supportdev@scores-decisions.com
|
||||
LANG=fr_FR.UTF-8
|
||||
############################
|
||||
# Traitement de la données #
|
||||
############################
|
||||
# dataScoring Quotidien
|
||||
01 10 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source inseeadd >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
05 10,23 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source bilanasso >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
10 10,20 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source bilan >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
20 10,15,21 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source privilege >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
30 10 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source insee >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
01 12,16,18 * * 1-5 scores php /home/scores/batch/current/bin/dataScoring.php --source manualadd >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
01 13 * * 1-6 scores php /home/scores/batch/current/bin/dataScoring.php --source dirigeant >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
10 13,19 * * 1-5 scores php /home/scores/batch/current/bin/dataScoring.php --source collecte >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
30 13,18 * * 1-5 scores php /home/scores/batch/current/bin/dataScoring.php --source bodacc >> /home/scores/batch/shared/log/dataScoring.log 2>&1
|
||||
|
||||
# dataSocring rattrapage
|
6
apps/batch/etc/cron.d/presta
Normal file
6
apps/batch/etc/cron.d/presta
Normal file
@ -0,0 +1,6 @@
|
||||
MAILTO=supportdev@scores-decisions.com
|
||||
LANG=fr_FR.UTF-8
|
||||
##############
|
||||
# Prestation #
|
||||
##############
|
||||
01 04 * * 1-6 scores php /home/scores/batch/current/bin/prestaA6cmoEntrep.php --cron --nomail >> /home/scores/batch/shared/log/diffusionEntrepA6cmo.log 2>&1
|
16
apps/batch/etc/cron.d/source
Normal file
16
apps/batch/etc/cron.d/source
Normal file
@ -0,0 +1,16 @@
|
||||
MAILTO=supportdev@scores-decisions.com
|
||||
LANG=fr_FR.UTF-8
|
||||
#########################
|
||||
# Sources #
|
||||
#########################
|
||||
01 */4 * * * scores php /home/scores/batch/current/bin/sourceDila.php --cron >> /home/scores/batch/shared/log/dila.log 2>&1
|
||||
10 09 * * * scores php /home/scores/batch/current/bin/sourceDila.php --cron --from restricted >> /home/scores/batch/shared/log/dila.log 2>&1
|
||||
10 13 * * * scores php /home/scores/batch/current/bin/sourceDila.php --cron --from restricted >> /home/scores/batch/shared/log/dila.log 2>&1
|
||||
|
||||
30 11 * * * scores php /home/scores/batch/current/bin/sourceInpiDecisions.php >> /home/scores/batch/shared/log/getInpiDecisions.log 2>&1
|
||||
00 19 * * * scores php /home/scores/batch/current/bin/sourceInpiDecisions.php >> /home/scores/batch/shared/log/getInpiDecisions.log 2>&1
|
||||
00 7-18/1 * * 1-5 scores php /home/scores/batch/current/bin/sourceJalPdf.php --cron >> /home/scores/batch/shared/log/jalpdf.log 2>&1
|
||||
00 04 * * 1-5 scores php /home/scores/batch/current/bin/sourceJalTable.php --cron >> /home/scores/batch/shared/log/jalpdf.log 2>&1
|
||||
|
||||
30 11-19/2 * * * scores php /home/scores/batch/current/bin/sourceInsee.php --cron >> /home/scores/batch/shared/log/insee.log 2>&1
|
||||
*/30 3-5 * * * scores php /home/scores/batch/current/bin/sourceInsee.php --cron >> /home/scores/batch/shared/log/insee.log 2>&1
|
9
apps/batch/etc/logrotate.d/batch
Normal file
9
apps/batch/etc/logrotate.d/batch
Normal file
@ -0,0 +1,9 @@
|
||||
/home/scores/batch/shared/log/*.log {
|
||||
missingok
|
||||
notifempty
|
||||
weekly
|
||||
rotate 10
|
||||
compress
|
||||
delaycompress
|
||||
create 0755 scores scores
|
||||
}
|
Loading…
Reference in New Issue
Block a user