From c1f00026ae09bdda9e430a3ee468033f7ff95f5e Mon Sep 17 00:00:00 2001 From: keybuk Date: Wed, 28 Jul 2004 14:15:40 +0000 Subject: [PATCH] stuff for cron git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@6 c2f067bf-98e0-425f-9c98-e76020cfa380 --- cron/10cvs | 7 +++++++ cron/20update | 5 +++++ cron/30log | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100755 cron/10cvs create mode 100755 cron/20update create mode 100755 cron/30log diff --git a/cron/10cvs b/cron/10cvs new file mode 100755 index 0000000..7b0ab78 --- /dev/null +++ b/cron/10cvs @@ -0,0 +1,7 @@ +#!/bin/sh + +cd /org/planet.debian.org/config +cvs -Q update + +cd /org/planet.debian.org/www/heads +cvs -Q update diff --git a/cron/20update b/cron/20update new file mode 100755 index 0000000..a1da4d4 --- /dev/null +++ b/cron/20update @@ -0,0 +1,5 @@ +#!/bin/sh + +cd /org/planet.debian.org + +./planet/planet.py config/config.ini > log/new-planet.log 2>&1 diff --git a/cron/30log b/cron/30log new file mode 100755 index 0000000..8a10450 --- /dev/null +++ b/cron/30log @@ -0,0 +1,7 @@ +#!/bin/sh + +cd /org/planet.debian.org/log + +rm -f planet.log.0 +mv -f planet.log planet.log.0 +mv new-planet.log planet.log -- 2.39.2