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:
[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/