From 83b4da5772952eae9d335a90c9632f37b971d236 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 13 Dec 2008 14:10:27 +0000 Subject: [PATCH] Updated git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1042 c2f067bf-98e0-425f-9c98-e76020cfa380 --- cron/01lock | 2 ++ cron/30log | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cron/01lock b/cron/01lock index f3b6c5d..62fc1b1 100755 --- a/cron/01lock +++ b/cron/01lock @@ -2,3 +2,5 @@ cd /org/planet.debian.org/log touch LOCK +echo -n "Starting planet update at " >> planet.log +date -u >> planet.log diff --git a/cron/30log b/cron/30log index 147b5a6..42b6318 100755 --- a/cron/30log +++ b/cron/30log @@ -2,8 +2,7 @@ cd /org/planet.debian.org/log -if [ -f new-planet.log ]; then - rm -f planet.log.0 - [ -f planet.log ] && mv planet.log planet.log.0 - mv new-planet.log planet.log -fi +echo -n "Ending planet update at " >> planet.log +date -u >> planet.log + +savelog -c 14 -t -p -j planet.log -- 2.39.2