Sha256: e112d3cdc9eda12ae811dbc14f00f276f004098cbf12f45c20992a346ed255fa
Contents?: true
Size: 785 Bytes
Versions: 7
Compression:
Stored size: 785 Bytes
Contents
#!/bin/sh #NOTE: you can also call # /usr/local/ec2onrails/bin/exec_runner # to run a script under a specific role # see the file for details if test -e /mnt/app/current; then cd /mnt/app/current if test -e /mnt/app/current/script/cron/daily; then if test -f /mnt/app/current/script/cron/daily; then sudo -u app /usr/local/ec2onrails/bin/rails_env script/cron/daily; else for f in script/cron/daily/*; do if test -f $f; then sudo -u app /usr/local/ec2onrails/bin/rails_env $f fi done fi exit 0; fi #DEPRECATED: just for old usage.... if test -e /mnt/app/current/script/daily then sudo -u app /usr/local/ec2onrails/bin/rails_env script/daily exit 0; fi fi
Version data entries
7 entries across 7 versions & 3 rubygems