perl cron (Slightly off subject)

2003-03-15 Thread Gregg R . Allen
I finally got my perl script that checks our POP3 server working (thanks everyone), but I want to run it every 5 minutes eventually, but every minute during testing. How do I set the crontab entry for periodic minutes? I am running "Yellow Dog Slackintosh" (Linux PPC). Thanks in advance, Gr

Re: Schedule::Cron

2003-03-13 Thread Gregg R . Allen
g the modules. And then I did a install POSIX and got the following error: Error: Failed to download URL http://www.roth.net/perl/POSIX.ppd: 500 Can't connect to $1:80 (Bad hostname '$1') ppm> Heidi -Original Message----- From: Gregg R. Allen [mailto:[EMAIL PROTECTED] Sent: T

Re: Schedule::Cron

2003-03-13 Thread Gregg R . Allen
I don't know enough about Windows, but it does have a Task Manager application that can be used for scheduling jobs. I don't know if it is as powerful as cron. Gregg On Thursday, March 13, 2003, at 10:24 PM, Heidi Ng wrote: Actually, I think my first question should be if this module will wor

Re: Schedule::Cron

2003-03-13 Thread Gregg R . Allen
Have you tried typing "Install POSIX::setsid" from the Perl Package Manager? Gregg On Thursday, March 13, 2003, at 10:13 PM, Heidi Ng wrote: Hi, I just found out about this Cron.pm module in Perl and would like to use it to schedule to run my perl scripts (I think the syntax is right.. I was

Weird POP3Client Problem.

2003-03-06 Thread Gregg R . Allen
I have been using: use Mail::POP3Client; $pop = new Mail::POP3Client( USER => "TheUser", PASSWORD => "MyPassword", HOST => "Mail.Host.com"); successfully for some time to read and parse email off a remote server. I was aske

Re: Simple Regex Problem.

2003-03-04 Thread Gregg R . Allen
ng text [^>]* = anything but ">", zero or more times )> = stop trapping text .* = anything, zero or more times $ = end of string /$1/ = replace matched text with the trapped text Rob -Original Message- From: Gregg R. Allen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04,

Simple Regex Problem.

2003-03-04 Thread Gregg R . Allen
anything.) He wants the subject field to look like: "[EMAIL PROTECTED]" I know this can be done very easily with a Perl regex but I've been away from Perl for about two years and I've forgotten very much. Thanks in advance, Gregg R. Allen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LWP and cron

2002-12-26 Thread Gregg R. Allen
I have a Perl script that uses LWP::Simple and downloads several web pages every day and saves them to my hard drive under the task manager in Windows 98. I'm trying to move it to Mac OS X. I've got it to run manually there, but when I run it under cron, it acts as if the "Use LWP::Simple" comman