Last active
February 7, 2016 21:42
-
-
Save mfebrianto/59f635ec670862916a3d 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
/opt/redis/redis-stable/src/redis-cli | |
HDEL schedules key check_instagram_tags_number |
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
bundle exec sidekiq -q high -L log/sidekiq.log |
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 'sidekiq/scheduler' | |
Sidekiq.configure_server do |config| | |
config.on(:startup) do | |
Sidekiq.schedule = YAML.load_file('fancybite_scheduler.yml') | |
Sidekiq::Scheduler.enabled = true | |
Sidekiq::Scheduler.reload_schedule! | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment