Here's how I run scripts every 30 seconds from crontab: * * * * * /path/to/somescript * * * * * sleep 30; /path/to/somescript
Cheers, Chris. On Saturday 13 September 2003 06:02, Jerry Bell wrote: > As has been pointed out, this will make it run every 2 minutes, not every > 30 seconds. I don't know of a way to go less than 1 minute. > > Jerry > ----- Original Message ----- > From: "Jerry Bell" <[EMAIL PROTECTED]> > To: "Denis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, September 13, 2003 7:33 AM > Subject: Re: HOW TO USE C-R-O-N????? > > > crontab -e > then put in > */2 * * * * /usr/bin/perl /usr/scripts/my.pl > > save and it should be good to go. > > Jerry > http://www.syslog.org > ----- Original Message ----- > From: "Denis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, September 13, 2003 7:09 AM > Subject: HOW TO USE C-R-O-N????? > > Hi All!!! > > Does anybody can show me how i can use Cron??? > For example, I want to start: > /usr/bin/perl /usr/scripts/my.pl > every 30 seconds. Can i to do it? _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"