Re: cron, crontab, etc. [CORRECTION]
Subject: Re: cron, crontab, etc.
Date: Tue, Jul 20, 1999 at 10:12:39AM -0400
In reply to:Wayne Topa
Quoting Wayne Topa(wtopa@mindspring.com):
>
> Subject: cron, crontab, etc.
> Date: Tue, Jul 20, 1999 at 01:07:09PM +0100
>
> In reply to:Patrick Kirk
>
> Quoting Patrick Kirk(patrick@kirks.net):
> > 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
This was pasted incorrectly /dev/null 2>&1 should have been
2>&1 > /dev/null
Sorry about that`
>
> 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 <wtopa@mindspring.com>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Every program has two purposes -- one for which it was written and
another for which it wasn't.
_______________________________________________________
Wayne T. Topa <wtopa@mindspring.com>
Reply to: