Solution for: #28: crontab settings for deploying Ultrasphinx

Sample crontab for ultrasphinx

2
Had to remove the line continuation characters because Ubuntu's crontab seemed to complain about it as malformed. Also, removed the leading slash so that ultrasphinx log output will log to the application-specific log directory.

*/6 * * * * bash -c 'cd /path/to/production/current/; RAILS_ENV=production rake ultrasphinx:index:delta >> log/ultrasphinx-index.log 2>&1' 1 4 * * * bash -c 'cd /path/to/production/current/; RAILS_ENV=production rake ultrasphinx:index:main >> log/ultrasphinx-index.log 2>&1' */3 * * * * bash -c 'cd /path/to/production/current/; RAILS_ENV=production rake ultrasphinx:daemon:start >> log/ultrasphinx-daemon.log 2>&1'