mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 22:05:07 +00:00
17 lines
515 B
Ruby
17 lines
515 B
Ruby
Rails.application.configure do
|
|
config.good_job.cron = {
|
|
# expire_draft_aadhaar_verifications: {
|
|
# cron: "*/5 * * * *", # Run every 5 minutes
|
|
# class: "Verification::ExpireDraftAadhaarVerificationsJob"
|
|
# },
|
|
purge_old_analytics: {
|
|
cron: "0 4 * * *", # Run daily at 4am
|
|
class: "Analytics::PurgeOldDataJob"
|
|
},
|
|
reap_aged_out_users: {
|
|
cron: "0 3 * * *", # Run daily at 3am
|
|
class: "Identity::ReapAgedOutUsersJob"
|
|
}
|
|
}
|
|
config.good_job.enable_cron = true
|
|
end
|