We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f187bf + 0c6f07f commit aa679a9Copy full SHA for aa679a9
config/environments/development.rb
@@ -73,7 +73,7 @@
73
# config.action_cable.disable_request_forgery_protection = true
74
config.good_job.smaller_number_is_higher_priority = true
75
76
- config.good_job.enable_cron = false
+ config.good_job.enable_cron = ENV['ENABLE_CRON'] || false
77
config.good_job.cron = {
78
product_sync_job: {
79
cron: "*/10 * * * *",
config/environments/staging.rb
@@ -98,7 +98,7 @@
98
99
config.good_job.execution_mode = :async
100
101
- config.good_job.enable_cron = true
102
103
104
0 commit comments