[Bast-commits] r9022 - ironman/Perlanet-IronMan/bin
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Wed Mar 17 22:21:28 GMT 2010
Author: idn
Date: 2010-03-17 22:21:28 +0000 (Wed, 17 Mar 2010)
New Revision: 9022
Modified:
ironman/Perlanet-IronMan/bin/ironman-collector-cron-wrapper.sh
Log:
First commit of my nasty cron wrapper
Modified: ironman/Perlanet-IronMan/bin/ironman-collector-cron-wrapper.sh
===================================================================
--- ironman/Perlanet-IronMan/bin/ironman-collector-cron-wrapper.sh 2010-03-17 22:20:03 UTC (rev 9021)
+++ ironman/Perlanet-IronMan/bin/ironman-collector-cron-wrapper.sh 2010-03-17 22:21:28 UTC (rev 9022)
@@ -2,3 +2,15 @@
# This is the cron wrapper for collecting the IronMan blogging feeds
+# Date YYYYMMDD-H
+DATE=`date +%Y%m%d-%H%M`
+
+BASE=/var/www/ironboy.enlightenedperl.org
+
+# ironman-collector script
+SCRIPT=$BASE/ironman/Perlanet-IronMan/bin/ironman-collector.pl
+
+# Logfile
+LOG=$BASE/collector-logs/$DATE
+
+$SCRIPT > $LOG 2>&1
More information about the Bast-commits
mailing list