Ruby 1.8.7 I have a post.rake and how to run rake task every day?
solution add a script in cron:
0 0 * * * /path/script.sh
script.sh:
#!/bin/bash
source /home/user/.bashrc
cd /path/to/project
export RAILS_ENV=production
bundle exec rake post:crontask -s
May have other solutions?