1 Nov 02:33
Re: [zone] help with crontab
Reinhard Poetz <reinhard <at> apache.org>
2006-11-01 01:33:09 GMT
2006-11-01 01:33:09 GMT
Bertrand Delacretaz wrote: > On 10/31/06, Reinhard Poetz <reinhard <at> apache.org> wrote: > >> ...I entered >> >> 0 1,5,9,13,17,21 * * * /home/maven/continuum-project-builder/run.sh > >> /home/maven/cron.log > > Isn't that missing a field? You should have 5 values or stars, with > hours in second position: > > * 0 1,5,9,13,17,21 * * * > > And this should work as well: > > * */4 * * * > > You might also want to add 2>&1 at the end of your command, so that > standard error also goes to your log file, otherwise it would be sent > by mail to the user, if there's anything written to it. I've applied your suggestions, thanks! -- -- Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc --------------------------------------------------------------------(Continue reading)
RSS Feed