When does the daily task for the 'Reader' badge run?

I’m sorry, I’m not exactly following… I don’t know anything about sidekiq or rails :sweat_smile:

I’ve tried to list out all the scheduled jobs in discourse:

ss = Sidekiq::ScheduledSet.new
ss.map{|job| job['args']}

=> [[{"topic_id"=>19, "current_site_id"=>"default"}],
 [{"topic_id"=>17, "current_site_id"=>"default"}],
 [{"type"=>"user_posted",
   ...
   "current_site_id"=>"default"}],
 [{"type"=>"user_replied",
  ...
   "current_site_id"=>"default"}],
 [{"post_id"=>1386, "current_site_id"=>"default"}],
 [{"type"=>"user_posted",
   ...
   "current_site_id"=>"default"}],
 [{"type"=>"user_replied",
   ...
   "current_site_id"=>"default"}],
 [{"post_id"=>1385, "current_site_id"=>"default"}]]

but it doesn’t seem to be there. Granted, perhaps I ran that command wrong (answer 3 on SO).

Any tips? Does the badge grant job not run by default?

Appreciate your help!

1 Like