I have some logic in my app that I need to run periodically, on a cron job or something. I could find no equivalent of, say, Symfony Commands in Meteor. How to execute Meteor code from a cron job or the commandline ?
Thanks, that is one step. Iām not looking for an interactive shell, however. Can I feed a script to the shell?
You could define code on the server and call it from the Meteor shell I suppose.
If you want to take the cron job route: https://github.com/msavin/SteveJobs..meteor.jobs.scheduler.queue.background.tasks
1 Like