[Catalyst] Schedule::Cron

Andrew Kornak akornak at gmail.com
Wed Feb 13 22:41:08 GMT 2008


On Wed, 2008-02-13 at 16:18 -0600, Jonathan Rockway wrote:
> * On Wed, Feb 13 2008, Will Smith wrote:
> > Is there any cron job module that I can use? I have tried Schedule::Cron, but
> > it gave me an error that cannot start the application.
> 
> How about running cron jobs from ... cron!  Example code:
> 
>   #!/usr/bin/env perl
>   use YourApp::Cron::Daily;
>   YourApp::Cron::Daily->new->run;
> 
> Then run that script from cron.
> 
> If your cron job needs to be a Catalyst application, it is horribly
> mis-designed.
> 
> Regards,
> Jonathan Rockway
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

It occurs to me that some might not have the advantage of being on an
open platform and may be in a primitive Windows environment. I am
uncertain if there is an equivalent to cron on Windows and this plugin
might be a "portable" alternative in such a circumstance. My 2 cents.

Regards,
Andrew Kornak 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080213/e08a7470/attachment.pgp


More information about the Catalyst mailing list