From: davyd Date: Wed, 17 Mar 2004 06:47:05 +0000 (+0000) Subject: oh my god, the cronny pain X-Git-Url: https://git.ucc.asn.au/?p=planet-ucc.git;a=commitdiff_plain;h=82aa14dc6dfc6cfb8449d8d0d4ea18ae1a51cadb oh my god, the cronny pain --- diff --git a/crontab b/crontab index 3e5e7cd..6e9292b 100644 --- a/crontab +++ b/crontab @@ -1 +1 @@ -*/5 * * * * echo -e "Updated at `date`:\n" > $HOME/projects/planetucc/planet.log ; $HOME/projects/planetucc/launch-update-planet.sh 2&>1 >> $HOME/projects/planetucc/planet.log +*/5 * * * * echo -e "Updated at `date`:\n" > $HOME/projects/planetucc/planet.log ; $HOME/projects/planetucc/launch-update-planet.sh >>$HOME/projects/planetucc/planet.log diff --git a/update-planet b/update-planet index 843c4ce..c4477ff 100755 --- a/update-planet +++ b/update-planet @@ -46,7 +46,7 @@ for feed in feeds: pass if not tainted: - sys.stderr.write('PlanetUCC: no objects have changed in the cache, not updating\n') + sys.stdout.write('PlanetUCC: no objects have changed in the cache, not updating\n') sys.exit(1) # step 3: sift the feeds