[Catalyst] Suggestions for sending email from cron job using 'Catalyst' templates?

Charlie Garrison garrison at zeta.org.au
Mon Apr 11 09:00:36 GMT 2011


Good evening,

On 11/04/11 at 10:34 AM +0930, Jon Schutz 
<jon+catalyst at youramigo.com> wrote:

>Perhaps fire up your app from the cron job using
>Catalyst::Engine::Embeddable?

Thanks, didn't know about that one; I'll have a look.

Hmm, the documentation is a bit sparse; I can't see how to get 
$c (or $app). I can't see anything in the test files either 
which show how to get the app object. Do you have an example you 
could share?

Or should I just start the embeddable instance and then do a 
handle_request to process the email sending?

Thanks,
Charlie

-- 
    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt




More information about the Catalyst mailing list