[Catalyst] Catalyst::Plugin::Scheduler issue.

Bill Moseley moseley at hank.org
Fri Jan 12 14:17:07 GMT 2007


On Fri, Jan 12, 2007 at 03:14:22PM +0800, Jack L. wrote:
> Hey,
> I use C::P::Scheduler to perform periodic actions.  I meet some troubles.
> The events defined in Cron.pm could not be executed at all whatever I try.
> Has anybody used it before?

Yes, it works fine for me.


> I use Linux and Catalyst 5.7006.
> YAML file is used for scheduling.
> I feel puzzled for the YAML file name.
> The YAML file name should be schedule.yml or scheduler.yml?
> Document says it is schedule.yml here, but scheduler.yml there.

Look at the source:

moseley at bumby:~$ perldoc -m Catalyst::Plugin::Scheduler |grep yml
    $c->config->{scheduler}->{yaml_file}   ||= $c->path_to('scheduler.yml');
is $APP_HOME/scheduler.yml.
existence of a file called C<schedule.yml> in your application's home

Looks like "scheduler.yml".


-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list