Sha256: a29635c226922ac9e6f652a1c498fde09702ff93d604b4cbab29897806886970
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 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 cd /mnt/app/current if test -e /mnt/app/current/script/cron/monthly; then if test -f /mnt/app/current/script/cron/monthly; then sudo -u app /usr/local/ec2onrails/bin/rails_env script/cron/monthly; else sudo -u app /usr/local/ec2onrails/bin/rails_env script/cron/monthly/*; fi exit 0; fi #DEPRECATED: just for old usage.... if test -e /mnt/app/current/script/monthly then sudo -u app /usr/local/ec2onrails/bin/rails_env script/monthly exit 0; fi
Version data entries
3 entries across 3 versions & 2 rubygems