The simplest way to achieve automating the command would be a cron job.
There is plenty of information available on how to work with the crontab
options to add a cron job in Unix/Linux.
Alfred B. Kraemer
Assistant Director
Medical College of Wisconsin Libraries
8701 Watertown Plank Road
Milwauke
G. (Library)
Cc: perl4lib@perl.org
Subject: Re: Email and perlscripts
On Thu, Oct 20, 2005 at 09:28:03AM -0400, Iglesias, Edward G. (Library)
wrote:
> Greetings All,
>
> I recently inherited a server which crashed. On that server were
> several scripts used by a variety of people
fundlist. On arrival a script would run turning it into a webpage. I
was able to move the script and get it to work fine. Unfortunately I
can only do this manually by issuing a command like
cat mbox | ./fundlist.pl
I can't figure out how to automate this. Any ideas?
Try procmail. It can p
On Thu, Oct 20, 2005 at 09:28:03AM -0400, Iglesias, Edward G. (Library) wrote:
> Greetings All,
>
> I recently inherited a server which crashed. On that server were
> several scripts used by a variety of people in my system. One of them
> was a script for turning a fund report into a webpage. I
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 * * Wedcat /var/spool/mbox | /path/to/fundlist.pl
The other question is: how is fundlist.pl actually making