cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: [zone] help with crontab
Date Wed, 01 Nov 2006 01:33:09 GMT
Bertrand Delacretaz wrote:
> On 10/31/06, Reinhard Poetz <reinhard@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
--------------------------------------------------------------------



	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

Mime
View raw message