Checked defined?(ActiveJob::Enqueuing) instead of just ActiveJob
Checked defined?(ActiveJob::Enqueuing) instead of just ActiveJob

In a Rails, ActiveJob is defined even if ActiveJob::Enqueuing is not.
ActiveJob::Enqueuing is only defined if you actually have a class
subclasses ActiveJob::Base.

Moove-it/sidekiq-scheduler,Moove-it/sidekiq-scheduler