Thank you for your response.<br> Yes, /email/checkemail is a private action, and I have called a Local action /email/runcheckemail which forward to /email/checkemail after 1 hour. It runs one time, and create a Schedule.task file, and then nothing happens after that.<br> I don't know what I need to add in order to get it running like what is said in the doc. <br> Thank you<br><br><b><i>taulmarill@xgn.de</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Am Do, 23.08.2007, 14:45, schrieb Will Smith:<br>> Hi,<br>> I'm trying to use the plugin to run a cron job by adding this to the<br>> myapp.pm :<br>> __PACKAGE__->schedule(<br>> at => '0 * * * *',<br>> event => '/email/checkemail',<br>> auto_run => 1,<br>> );<br>><br>> This suppose to set the process checkemail run every hour, but it does<br>> nothing at all. I
am not sure whether I have put those line in the wrong<br>> place, or something else I have to do. Do I need to have a Schedule.yml<br>> file (this is only an option according to the doc)? Someone has done<br>> this, please give me some instruction. And if I want to run the process<br>> more often, like every 15 min, how could I modify the value, if possible.<br>> Thank you<br><br>This is from the C::P::Scheduler perldoc:<br><br>"Events will run during the first request which meets or exceeds the<br>specified time."<br>"The event to run at the specified time can be either a Catalyst private<br>action path or a coderef."<br><br>Have you performed a request after the hour has passed? Is<br>'/email/checkemail' a private action? Have you RTFM?<br><br><br>regards,<br>Jürgen<br><br><br>_______________________________________________<br>List: Catalyst@lists.rawmode.org<br>Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst<br>Searchable archive:
http://www.mail-archive.com/catalyst@lists.rawmode.org/<br>Dev site: http://dev.catalyst.perl.org/<br></blockquote><br><p> 
<hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.