The following is a guide to using Cron in an OpenShift application.
OpenShift gives a simple out of the box solution to setup Cron using existing bash scripts.
The following are required before reading the rest of this guide.
- OpenShift account
- OpenShift application installed
- SSH access
1. Run the following from the command-line to install Cron.
rhc cartridge add cron -a APP_NAME
APP_NAMEis the name of the application.
2. After installation, something similar to the following should be displayed