Created
April 16, 2013 02:57
-
-
Save sicksand/5393015 to your computer and use it in GitHub Desktop.
Place this bash script on your cron daily (yourapp/.openshift/cron/daily/restartdaily.sh) for a daily restart of your OpenShift's app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
ctl_all stop | |
sleep 2 | |
ctl_all start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment