Created
December 11, 2010 00:13
-
-
Save bloopletech/737017 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
SHELL=/bin/bash | |
# m h dom mon dow command | |
0 0 * * * /.../run_in_current rake db:backup |
This file contains hidden or 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 | |
#This script is meant to be run from bash shells that have had their environment stripped - it sets up the environment again so we can do useful work | |
export HOME=/home/bloople/ | |
source /home/bloople/.bashrc | |
rvm use 1.9.2 | |
cd /www/ca/current | |
$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment