Skip to content

Instantly share code, notes, and snippets.

@ASnow
Created April 19, 2016 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ASnow/4a69d9b29329f4aa64a074018924d091 to your computer and use it in GitHub Desktop.
Save ASnow/4a69d9b29329f4aa64a074018924d091 to your computer and use it in GitHub Desktop.
0,10,20,30,40,50 * * * * /bin/bash -l -c 'cd /opt/capistrano/uniweb/releases/20160419162126 && rvmsudo -u www-data bundle exec rails runner -e production '\''CdnLoaderTask.run'\'' >> log/cron.log 2>> log/error.log'
0 8 * * * /bin/bash -l -c 'cd /opt/capistrano/uniweb/releases/20160419162126 && rvmsudo -u www-data bundle exec rails runner -e production '\''NoticeAboutExpiredGroupTask.run'\'' >> log/cron.log 2>> log/error.log'
## [message] Above is your schedule file converted to cron syntax; your crontab file was not updated.
## [message] Run `whenever --help' for more options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment