hoopsbwc34 has asked for the wisdom of the Perl Monks concerning the following question:
First, I included Net::AIM in the script itself so it would connect send me the HTML and disconnect. GREAT! But, of course, doing this every 15 minutes got me locked out of AOL (at least temporarily)
So I thought it would be better to start up an AOL bot that is always running (eventually could respond to IM from me as well.) But then how do I get the data from my script that is running every 15 minutes from cron? The length of time it takes for this script to run is varied so I'd rather not just sleep 900 and I'd like to always run every 15 minutes.
I don't really want to dump it to a file and read in the file, I want it to be more expansive than that (maybe even support multiple users eventually which would require I send a username and the message to my AIMbot) I thought about opening a socket, but that seemed stupid as I'm on the same machine. LOL... I also thought about forking one of the processes, but I'm not sure what that means :-) or if it would do any good because I would again lose control of my cron start times
So is there a relatively easy way to do this that I'm missing?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::AIM with another script?
by benn (Vicar) on Aug 15, 2003 at 11:13 UTC | |
by chanio (Priest) on Aug 16, 2003 at 04:43 UTC | |
|
Re: Net::AIM with another script?
by eric256 (Parson) on Aug 15, 2003 at 13:49 UTC | |
by hoopsbwc34 (Initiate) on Aug 15, 2003 at 18:41 UTC | |
by hoopsbwc34 (Initiate) on Aug 15, 2003 at 18:55 UTC | |
by eric256 (Parson) on Aug 17, 2003 at 06:22 UTC | |
by hoopsbwc34 (Initiate) on Aug 18, 2003 at 00:04 UTC | |
by kelan (Deacon) on Aug 18, 2003 at 14:14 UTC | |
by eric256 (Parson) on Aug 18, 2003 at 14:07 UTC |