Maintenance / command scripts?

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 ?

Check out for getting Meteor shell access in production.

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:

1 Like