(root)/scripts/alcasar-log-clean.sh @ 519 – Rev 518 → 519
Rev 518 |
Show entire file |
Ignore whitespace |
Details |
Blame |
Last modification |
View Log
Rev 518 |
Rev 519 |
Line 1... |
Line 1... |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# $Id: alcasar-log-clean.sh 518 2011-03-25 16:04:12Z stephane $
|
2 |
# $Id: alcasar-log-clean.sh 519 2011-03-25 16:30:32Z stephane $
|
3 |
# script de nettoyage des archives supérieures à 1 an ( 365 jours)
|
3 |
# script de nettoyage des archives supérieures à 1 an ( 365 jours)
|
4 |
DATE=`date +%F`
|
4 |
DATE=`date +%F`
|
5 |
REP="/var/log/squid/ /var/log/httpd/ /var/log/firewall/ /var/Save/base/ /var/Save/logs/firewall/ /var/Save/logs/squid/ /var/Save/logs/httpd/"
|
5 |
REP="/var/log/squid/ /var/log/httpd/ /var/log/firewall/ /var/Save/base/ /var/Save/logs/firewall/ /var/Save/logs/squid/ /var/Save/logs/httpd/"
|
6 |
delay=365
|
6 |
delay=365
|
7 |
|
7 |
|