Closed vanboom closed 2 years ago
UPDATE: it appears that when using the environment option, all environments must be present in the YML, e.g.
development: {}
production:
checkout_scanner:
class: Jobs::Scanner
cron: "5,15,30,45 * * * *"
test: {}
With empty environments declared, everything works great. Thanks for a great gem!
We are trying to configure a production only job per the README example:
But are getting an exception...
Putting some debug in to print
@schedule.job_specs
it appears that the environment option is not being handled in the YML I might be missing something obvious, appreciate any tips or suggestions.