Subject: cron, crontab, etc. Date: Tue, Jul 20, 1999 at 01:07:09PM +0100
In reply to:Patrick Kirk Quoting Patrick Kirk([EMAIL PROTECTED]): > Hi all, > > I want to schedule a command to run updatebd every 6 hours. The man pages > for cron and crontab don't have any useful info on how. > > How do I do this? > > Patrick In /etc/crontab I do this 30 5 * * * root nice -10 /root/bin/dodb 2>&1 > /dev/null /root/bin/dodb #!/bin/sh # Ok lets update the locate database updatedb --prunepaths='/tmp /proc /cdrom /mnt /var/spool' > /dev/null 2>&1 HTH, YMMV, HAND -- "You must realize that the computer has it in for you. The irrefutable proof of this is that the computer always does what you tell it to do." _______________________________________________________ Wayne T. Topa <[EMAIL PROTECTED]>