Date: Sat, 12 Feb 2000 01:24:44 -0500 From: "C J Michaels" <cjm2@earthling.net> To: <jmutter@ds.net>, <courtney@whtz.com> Cc: <questions@FreeBSD.ORG> Subject: RE: CRON Message-ID: <NDBBJKPOALBHJNGOLOFNEEBLCAAA.cjm2@earthling.net> In-Reply-To: <389A10A7.B4B54D62@ds.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I know I'm a week late on this one. But you don't need to re-start cron when changing /etc/crontab. As per the man 8 cron, it re-reads the /etc/crontab file each time it is run. -Chris -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of James A. Mutter Sent: Thursday, February 03, 2000 6:35 PM To: courtney@whtz.com Cc: questions@FreeBSD.ORG Subject: Re: CRON courtney@whtz.com wrote: > > OK- as requested, here is a copy of my /etc/crontab file > > #minute hour mday month wday who command > # > */5 * * * * root /usr/libexec/atrun > # <snip> > > #THIS IS THE CRON JOB IN QUESTION > * 0-23 * * * root /usr/local/bin/scr > <snip> > I would like to run that job every 10 minutes 24 hours a day...is that > possible as well?? > Sure is - make an entry just like the atrun entry. You'll end up with something like this: */10 * * * * root /usr/local/bin/scr I'm pretty sure that will get you up and running. Don't forget to restart cron when you're done. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJKPOALBHJNGOLOFNEEBLCAAA.cjm2>