par wann » 03 Déc 2002 15:15
Sinon, c'est peut-être ça que tu veux :
<BR>
<BR><!-- BBcode auto-mailto start --><a href="mailto:root@ipcop~$cat">root@ipcop~$cat</a><!-- BBCode auto-mailto end --> /etc/crontab
<BR>#
<BR># $Id: crontab,v 1.2 2001/11/27 15:20:50 riddles Exp $
<BR>#
<BR>SHELL=/bin/bash
<BR>PATH=/sbin:/bin:/usr/sbin:/usr/bin
<BR>MAILTO=root
<BR>HOME=/
<BR>
<BR># run-parts
<BR>01 * * * * root run-parts /etc/cron.hourly
<BR>02 4 * * * root run-parts /etc/cron.daily
<BR>22 4 * * 0 root run-parts /etc/cron.weekly
<BR>42 4 1 * * root run-parts /etc/cron.monthly
<BR>
<BR># Save IP accounting info every five minutes.
<BR>*/5 * * * * root /usr/local/bin/fetchipac
<BR>
<BR># Summarize ip accounting info:
<BR>2 0 * * * root /usr/local/bin/ipacsum -r -t "the day 7 days ago" >/dev/null
<BR>3 0 * * 0 root /usr/local/bin/ipacsum -r -t "the week 11 weeks ago" >/dev/null
<BR>4 0 1 2 * root /usr/local/bin/ipacsum -r -t "the year 2 years ago" >/dev/null
<BR>
<BR># Make some nice graphs
<BR>*/30 * * * * root /usr/local/bin/makegraphs >/dev/null
<BR>
"Free your mind and your ass wil follow" (George Clinton)