Last active
August 29, 2015 14:11
-
-
Save miguelcma/e5947c8206834f0215e1 to your computer and use it in GitHub Desktop.
Manual monit using a crontab
This file contains 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
* * * * * /bin/ps aux | grep [q]ueue_manager:start || (cd /var/www/lqd.io/current ; RAILS_ENV=staging /home/deployer/.rvm/gems/ruby-2.1.1@global/bin/bundle exec rake queue_manager:start &) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment