X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=scripts%2Fcrontab.syj;h=78d48bee268730f9b87cf3c5722aa9d36e610a5f;hp=e8c0c1157d85eec49cb18bc99393d84d3f14d571;hb=c2349d8863a6366ff512d6c895fc0b6f7ad16207;hpb=d1b15aee9462fc556b230b80f2593debbc696b50 diff --git a/scripts/crontab.syj b/scripts/crontab.syj index e8c0c11..78d48be 100644 --- a/scripts/crontab.syj +++ b/scripts/crontab.syj @@ -2,4 +2,6 @@ MAILTO=arno@renevier.net # every 5 minutes, call syj php cron */5 * * * * /usr/bin/wget --header="Host: osm-syj.crans.org" http://localhost/cron -O /dev/null -o /dev/null # every month, update geoip db -0 0 3 * * /data/project/syj/scripts/updategeoip.sh +12 3 3 * * /data/project/syj/scripts/updategeoip.sh +# every day, delete old sessions files +47 4 * * * find /tmp/ -name "sess_*" -user syj -ctime +45 -exec rm -f '{}' \;