GRA
On Thursday, March 13, 2003, at 10:29 PM, Heidi Ng wrote:
Yes, I did a install POSIX::setsid on ppm but I had no luck finding 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: Thursday, March 13, 2003 9:24 PM To: Heidi Ng Cc: [EMAIL PROTECTED] Subject: Re: Schedule::Cron
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,Cron.pm
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 hoping to run it to see what it does.) Anyway, I installedv1.5 and was trying to run the following script.
#!/usr/bin/perl
use strict; use Schedule::Cron; use warnings;
### Create a new object with default subroutine my $cron = new Schedule::Cron( \&test ); # ### Install the updater $cron->add_entry( "0-59/5 * * * *" , \&test); # ### Run scheduler my $cronPID = $cron->run( detach => 1); # #
sub test {
# do stuff here
}
But I got the following error: "POSIX::setsid not implemented on this architecture at C:/usr/site/lib/Schedule/Cron.pm line 502."
I am running Perl v5.8 on WinXP Home.
Thanks in advance. Heidi
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]