blog.sowatchasayin

Rails etc.

Showing posts with label capistrano. Show all posts
Showing posts with label capistrano. Show all posts

Sync crontab and Rails with Capistrano

1. Put `crontab -l` into a file and add it into your repository
2. Add lines below to your config/deploy.rb



that's all. crontab on production server will be refreshed after every deployment.

Author

Fujimura Daisuke
http://fujimuradaisuke.com

Labels