Hi!
Ok, I need to run some methods periodically, so the best its to use
Schedule::Cron, Im creating a Schedule::Cron with this:
my $cronometro = new Schedule::Cron(\&dispatcher);
#Every 5 minutes
$cronometro->add_entry("0-59/5 * * * *", \&action);
$cronometro->run(deta
m the
controlling tty. You probably don't need it, but you should contact the
maintainer of Schedule::Cron to see if the module can be made
Win32-friendly. He or she might need to wrap setsid in an eval() or a test
for the Win32 platform. It's feedback like this that improves the quality o
: Heidi Ng
Cc: [EMAIL PROTECTED]
Subject: Re: Schedule::Cron
I would try other FTP sites, especially CPAN itself. In UNIX one can
configure multiple ftp sites. I'm not sure how the Windows PPM/FTP
configuration works.
GRA
On Thursday, March 13, 2003, at 10:29 PM, Heidi Ng wrote:
>
hursday, 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,
I just found out about this Cron.pm module in
odule will work
with Windows. If no, then, is there a Perl module that does cron for
windows?
Thanks again,
Heidi
-Original Message-
From: Heidi Ng [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 9:14 PM
To: [EMAIL PROTECTED]
Subject: Schedule::Cron
Hi,
I just found out about th
--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:
PROTECTED]
Subject: Schedule::Cron
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
ht.. 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 );
#
### Insta
;
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);
#
#
s