WARNING: This post was written when OpenShift 2 existed and is no longer relevant.

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
  • Git
  • SSH access


1. Run the following from the command-line to install Cron.

rhc cartridge add cron -a APP_NAME

NOTE: APP_NAME is the name of the application.

2. After installation, something similar to the following should be displayed