]> git.deb.at Git - deb/hackedgotchi.git/commitdiff
stuff for cron
authorkeybuk <keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 28 Jul 2004 14:15:40 +0000 (14:15 +0000)
committerkeybuk <keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 28 Jul 2004 14:15:40 +0000 (14:15 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@6 c2f067bf-98e0-425f-9c98-e76020cfa380

cron/10cvs [new file with mode: 0755]
cron/20update [new file with mode: 0755]
cron/30log [new file with mode: 0755]

diff --git a/cron/10cvs b/cron/10cvs
new file mode 100755 (executable)
index 0000000..7b0ab78
--- /dev/null
@@ -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 (executable)
index 0000000..a1da4d4
--- /dev/null
@@ -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 (executable)
index 0000000..8a10450
--- /dev/null
@@ -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