I thought I'd share this since I couldn't find any scripts that accommodate what I wanted. I wanted to have a weekly schedule available in freevo that automagically rolled over (tacking on day on the end and off the front).
Here is the script that I use, ymmv.
You'll need to populate with data first:
# Grab a weeks worth of data
./creat_listings.pl -d 7
then in cron:
xx yy * * * /path/to/create_listings.pl -c -d 1 -o 7 > /tmp/create_listings_logfile
2>&1
usage: create_listings.pl -d < #days > [ -o < #offset > ] [ -c ]
-s skip grab (rebuild list only)
-d <# days> number of days to grab
-o <# offet> number of days offset (eg: start grab 7 days out)
-c Clean up old files
The script requires configuration and assumes that you use /tmp/TV.xml as
your guide.
R. Marc
create_listings.pl
Description: Perl program
