[Catalyst] Schedule::Cron

Jonathan Rockway jon at jrock.us
Wed Feb 13 22:18:12 GMT 2008


* 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



More information about the Catalyst mailing list