Skip to content

Instantly share code, notes, and snippets.

@miguelcma
Last active August 29, 2015 14:11
Show Gist options
  • Save miguelcma/e5947c8206834f0215e1 to your computer and use it in GitHub Desktop.
Save miguelcma/e5947c8206834f0215e1 to your computer and use it in GitHub Desktop.
Manual monit using a crontab
* * * * * /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