Skip to content

Instantly share code, notes, and snippets.

@mfebrianto
Last active February 7, 2016 21:42
Show Gist options
  • Save mfebrianto/59f635ec670862916a3d to your computer and use it in GitHub Desktop.
Save mfebrianto/59f635ec670862916a3d to your computer and use it in GitHub Desktop.
/opt/redis/redis-stable/src/redis-cli
HDEL schedules key check_instagram_tags_number
bundle exec sidekiq -q high -L log/sidekiq.log
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