Merge pull request #1812 from betagouv/add-cron-to-readme

Add ActivateBeforeExpirationJob cron to readme
This commit is contained in:
gregoirenovel 2018-04-09 12:15:52 +02:00 committed by GitHub
commit 4c6eeb1fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,6 +103,7 @@ Dans le fichier `config/intializers/token.rb`, ajouter
WeeklyOverviewJob.set(cron: "0 8 * * 0").perform_later
AutoReceiveDossiersForProcedureJob.set(cron: "* * * * *").perform_later(procedure_declaratoire_id, 'en_instruction')
FindDubiousProceduresJob.set(cron: "0 0 * * *").perform_later
Administrateurs::ActivateBeforeExpirationJob.set(cron: "0 8 * * *").perform_later
## Exécution des tests (RSpec)