Openshift has a cron cartridge that’s very easy to install and configure. You simply install the cron cartridge:
1
| |
And populate the directory tree in your app’s git repository:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
The trick is that unlike Heroku, the Openshift cron system is basically just like regular linux cron. They do not execute (by default) in your application’s environment. Thankfully, it’s very easy to set up your scripts to run this way.
1 2 3 4 5 6 7 8 | |
It should be pretty obvious where to put your script files based on when you want them to run!