From: Lars Hecking (lhecking at domain nmrc.ucc.ie)
Date: Thu 30 Sep 1999 - 16:30:03 IST
Donncha O Caoimh writes:
> I was hoping to have a small script run every 2 minutes on a Sun box but
> when I tried the following it threw a wobbler:
> 0-59/2 * * * * /home/docaoimh/bin/test.sh
The shell is invoked from your home directory, so you don't need the
full path. /bin/test.sh will do.
> saying there was an illegal character. Obviously what works in vixie
> cron doesn't work here. Any easy way of making a skip value without
> listing out each time explicitly?
Nope. Quote cronatb(5): "An element is either a number or two numbers
separated by a minus sign (meaning an inclusive range)."
But you could use an asterisk to execute it every minute, if that helps.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:38 GMT