[Bast-commits] r9954 - ironman/Perlanet-IronMan/branches/ironboy/bin
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Sat Sep 22 11:26:05 GMT 2012
Author: idn
Date: 2012-09-22 11:26:05 +0000 (Sat, 22 Sep 2012)
New Revision: 9954
Added:
ironman/Perlanet-IronMan/branches/ironboy/bin/ironboy-collector-cron-wrapper.sh
Log:
ADding a cron wrapper specifically for boy
Added: ironman/Perlanet-IronMan/branches/ironboy/bin/ironboy-collector-cron-wrapper.sh
===================================================================
--- ironman/Perlanet-IronMan/branches/ironboy/bin/ironboy-collector-cron-wrapper.sh (rev 0)
+++ ironman/Perlanet-IronMan/branches/ironboy/bin/ironboy-collector-cron-wrapper.sh 2012-09-22 11:26:05 UTC (rev 9954)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
+
+# 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 --dsn=dbi:SQLite:$BASE/ironman/subscriptions.db > $LOG 2>&1
Property changes on: ironman/Perlanet-IronMan/branches/ironboy/bin/ironboy-collector-cron-wrapper.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Bast-commits
mailing list