Flux : log dans le dossier shared
This commit is contained in:
parent
7855c0f8e0
commit
c9673ca6d3
@ -1,5 +1,5 @@
|
||||
# Gestion des flux a envoyer au client
|
||||
*/15 4-18 * * * root php /home/flux/current/recv.php --cron >> /home/log/recv.log 2>&1
|
||||
*/15 4-18 * * * root php /home/flux/current/recv.php --cron >> /home/flux/shared/recv.log 2>&1
|
||||
|
||||
# Nettoyage
|
||||
01 18 * * * root php /home/flux/current/clean.php --cron >> /home/log/clean.log 2>&1
|
||||
01 18 * * * root php /home/flux/current/clean.php --cron >> /home/flux/shared/clean.log 2>&1
|
@ -1,2 +1,2 @@
|
||||
/home/data/ftp/fransbonhomme/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/ftp/fransbonhomme/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/currrent/read.php --file $@/$# >> /home/log/read.log 2>&1
|
||||
/home/data/ftp/fransbonhomme/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
/home/data/ftp/fransbonhomme/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/currrent/read.php --file $@/$# >> /home/flux/shared/read.log 2>&1
|
||||
|
@ -1 +1 @@
|
||||
/home/data/ftp/jalpdfsed/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/ftp/jalpdfsed/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
|
@ -1 +1 @@
|
||||
/home/data/ftp/rrg/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/current/read.php --file $@/$# >> /home/log/read.log 2>&1
|
||||
/home/data/ftp/rrg/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/current/read.php --file $@/$# >> /home/flux/shared/read.log 2>&1
|
||||
|
@ -1 +1 @@
|
||||
/home/data/ftp/sofid/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/ftp/sofid/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
|
@ -1 +1 @@
|
||||
/home/data/ftp/vwbank/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/ftp/vwbank/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
|
@ -1 +1 @@
|
||||
/home/data/sftp/gefacto/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/sftp/gefacto/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
|
@ -1,2 +1,2 @@
|
||||
/home/data/sftp/sfrbtr/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/log/send.log 2>&1
|
||||
/home/data/sftp/sfrbtr/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/current/read.php --file $@/$# >> /home/log/read.log 2>&1
|
||||
/home/data/sftp/sfrbtr/send IN_CLOSE_WRITE php /home/flux/current/send.php --file $@/$# >> /home/flux/shared/send.log 2>&1
|
||||
/home/data/sftp/sfrbtr/recv IN_CLOSE_NOWRITE,IN_ACCESS,IN_DELETE,IN_NO_LOOP php /home/flux/current/read.php --file $@/$# >> /home/flux/shared/read.log 2>&1
|
||||
|
@ -1,4 +1,4 @@
|
||||
/home/log/*.log {
|
||||
/home/flux/shared/*.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
|
Loading…
Reference in New Issue
Block a user