cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: [zone] help with crontab
Date Tue, 31 Oct 2006 21:43:03 GMT
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.

-Bertrand

Mime
View raw message