Move index_pages script to end of cron job
authorFrank Lichtenheld <frank@lichtenheld.de>
Wed, 12 Dec 2007 01:04:01 +0000 (02:04 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Wed, 12 Dec 2007 01:04:01 +0000 (02:04 +0100)
This currently the slowest script

cron.d/600index_pages [deleted file]
cron.d/900index_pages [new file with mode: 0755]

diff --git a/cron.d/600index_pages b/cron.d/600index_pages
deleted file mode 100755 (executable)
index 5829d0b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-. `dirname $0`/../config.sh
-
-cd "$topdir"
-
-date
-./bin/create_index_pages
-date
diff --git a/cron.d/900index_pages b/cron.d/900index_pages
new file mode 100755 (executable)
index 0000000..5829d0b
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. `dirname $0`/../config.sh
+
+cd "$topdir"
+
+date
+./bin/create_index_pages
+date