On Thu, Apr 03, 2014 at 07:30:35AM -0700, sri wrote:
  Think i'd use either a cron job calling an application specific command
  or a Minion delayed job.
   
    
http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Adding_commands_to_Mojolicious

Thanks for the tip. If I understand correctly, one uses a separate file
for the commands bit, and a use statement in the main app. This works.
What I can't figure out is how variables in the main app can be passed
to the command file (i.e a database handle or config variables).

--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to