Last active
December 18, 2015 22:58
-
-
Save ichiban/5857981 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
# envがあると動いた | |
# Begin Whenever generated tasks for: app | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
0,30 * * * * /bin/bash -l -c 'cd /var/www/app/current && env bundle exec script/rails runner -e staging '\''PostScheduled.post(-15.minutes.from_now..15.minutes.from_now)'\'' >> log/cron.log 2>&1' | |
# End Whenever generated tasks for: app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment