[PLUG] cron question

Michael Rasmussen mikeraz at patch.com
Fri Sep 21 13:12:43 UTC 2007


Jeme A Brelin wrote:
> > The test lines Michael recommended:
> > 1,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/rsteff/ShellScripts/x10-lights-on.sh
> 
> Dunno why he started on 1 instead of 0.  And if you're using Vixie cron 
> like everybody should be, then you can abbreviate that to this:
> 
> */5 * * * * /path/to/script

I like 1.

How would you use the */n syntax to get two separate lines to interleave? 
I don't think he can do the abbreviation without a confusion of the two
scripts running separated by a 2-3 minute gap.


-- 
      Michael Rasmussen, Portland Oregon  
    Be appropriate && Follow your curiosity
          http://www.patch.com/words/ 
  The fortune cookie says:
"For the man who has everything... Penicillin."
 -- F. Borquin




More information about the PLUG mailing list