Re: can someone explain crontab to me better?
From: Tom Joyce (tomjoyce_at_gmail.com)
Date: Sun, 19 Sep 2004 13:55:57 -0400 To: robg <email@example.com>
I believe that you would simply set 2 hours, as in:
* */2 * * * root /usr/libexec/locate.updatedb
That would run the script in /usr/libexec/ called "locate.updatedb"
every 2 hours, taking as long as it needs to.
Please correct me if anyone knows more about it than I do.
On Sun, 19 Sep 2004 13:42:36 -0400, robg <firstname.lastname@example.org> wrote:
> i am having a hard time understanding crontab after reading
> .. i still can't understand the minutes/hours...
> when you specify minutes, does it mean the command is run every X
> minutes? and if you specify a hour AND minutes, the command is run
> every X hours for X minutes? so if i did
> */5 */2 * * * root /usr/libexec/locate.updatedb
> it would run that command every two hours for 5 minutes? so when two
> hours comes around, itll keep running that command over and over for 5
> minutes? or will it run that command once every 5 minutes for two
> hours? im confused
> i just want to know the syntax to run something every 2 hours once ..
> can someone clarify this
> email@example.com mailing list
> To unsubscribe, send any mail to "firstname.lastname@example.org"
-- Thomas Joyce email@example.com firstname.lastname@example.org _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "firstname.lastname@example.org"