Last active
October 18, 2017 14:30
-
-
Save sirramongabriel/9d4e6577f3a4ee187eadfecfb7e3fcfe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| require 'bundler' | |
| require 'rake' | |
| require 'sidekiq' | |
| namespace :sidekiq do | |
| namespace :start do | |
| task :cron do | |
| system "bundle exec sidekiq -q default" | |
| system "rake cron" | |
| end | |
| task :mailer do | |
| system "bundle exec sidekiq -q default -q mailers -L log/sidekiq.log" | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment