In this recipe, you will learn how to add the cron add-on cartridge to your application. The cron cartridge will write the output of the
quota command to a file every hour. The database and other cartridges will be covered later in this book.
To prepare for this recipe, you will need rhc installed on your machine. Also, we will make use of the OpenShift application created in the Creating an OpenShift application using the rhc command-line client recipe.
Perform the following steps to add a cron cartridge to your application:
$ rhc add-cartridge --cartridge cron --app myapp
quota.txtin the application ...