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 hoping to run it to see what it does.) Anyway, I installed Cron.pm
v1.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]