News Release Publisher
Posted April 21st, 2008 by Anonymous
http://pole.uwaterloo.ca/cpadev/news/ (the publishing script is in the /perl folder) The perl scripts take the separate news files from the .mbox and parses each of them with a lot of regexes. Some scripts post the data to a database, others generate an RSS feed, and so on.
The Cron jobs
Cron jobs are used to automatically run the mbox to db and mbox to RSS scripts at regular intervals. Right now they are running under jrodgers on the server
. # DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.11219 installed on Fri Jun 24 09:22:51 2005)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 0 0,9,11,13,15,17 * * * perl /var/www/html/cpadev/news/perl/mbox2db.pl #0 0,9,11,13,15,17 * * * perl /var/www/html/cpadev/news/perl/mbox2rss.pl #1 0,9,11,13,15,17 * * * php /var/www/html/cpadev/news/news_index_gen.php 5
* * * * /home/jrodgers/bin/run_rake_feeds.sh