[ooo-build-commit] .: Branch 'planet-config' - cron.sh

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Aug 6 12:32:49 PDT 2010


 cron.sh |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit dd18bec273c8f9fda9a9432d54d4af5314db8d97
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Fri Aug 6 21:32:01 2010 +0200

    Nicer logging.

diff --git a/cron.sh b/cron.sh
index af6f29c..6844163 100755
--- a/cron.sh
+++ b/cron.sh
@@ -4,6 +4,10 @@ cd /srv/planet-config
 
 (
     flock 200
-    date >> /var/log/planet.log
-    python /srv/planet-2.0/planet.py config.ini >> /var/log/planet.log 2>&1
+    (
+        echo "***********************************************************************"
+        echo -n "Date: "
+        date
+        python /srv/planet-2.0/planet.py config.ini
+    ) >> /var/log/planet.log 2>&1
 ) 200>/srv/planet-config/planet.lock


More information about the ooo-build-commit mailing list