cat mbox | ./fundlist.pl

Ultimately, you'll want to use full paths and then a crontab
entry ("man 5 crontab" to read more). Something like:

 # Runs at noon time every Wednesday
 0 12 * * Wed    cat /var/spool/mbox | /path/to/fundlist.pl

The other question is: how is fundlist.pl actually making the webpage? If it is hardcoded to save it to a file, then you'll want to make sure it's using a full path for that too. Otherwise, if it spits the webpage to the screen, you can redirect it via the following:

 # Runs at noon time every Wednesday, saves to funds.html
 0 12 * * Wed cat /var/spool/mbox | /path/fundlist.pl > /path/funds.html

--
Morbus Iff ( you are nothing without your robot car, NOTHING! )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
O'Reilly Author, Weblog, Cook: http://www.oreillynet.com/pub/au/779
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Reply via email to