On Mon, Jan 05, 1998 at 09:48:42PM +1100, Hamish Moffatt wrote: > I'm working on a package of ipac, some scripts to set up > and summarise IP accounting info from the kernel. The author > suggests running part of it every 15 minutes. The advantage > to this is that there is less data lost in case of a system crash > (the author's point), and it also lets you get summaries > between a particular times, so obviously we get more resolution > if we run it more often. > > However, policy indicates that you can only get your job > to run daily, weekly, or monthly, by putting entries in > /etc/cron.{daily,weekly,monthly}. Anything that runs more often > has a user assigned to it who gets the cronjob (eg smail > runs runq from mail's crontab, inewsinn installs crontabs for > news). > > However, there's no suitable user for this and it needs > to run as root anyway to reset the accounting stats. > Am I stuck with daily?
Why not add a job like: */15 * * * * root /usr/sbin/ipac-cron to /etc/crontab? The predecessor of at has done this, too. Regards Joey -- / Martin Schulze * [EMAIL PROTECTED] * 26129 Oldenburg / / Erfahrung ist eine nützliche Sache / / Leider macht man sie immer erst kurz nachdem man sie brauchte /
pgpmaorVfVWMH.pgp
Description: PGP signature