demarches-normaliennes/app/jobs/cron
Colin Darie f1957e51f8 fix(exports): purge stuck (pending) exports, not generated or failed
Avec l'autre PR, ça reproduit le comportement d'avant, c'est à dire
que quoiqu'il arrive un export est purgé :
- soit 16h après sa génération (on a 16h pour le télécharger)
- soit 12h après sa création, et qu'il est bloqué

Auparavant, tous les exports étaient purgés au bout de 3h quelle que soit
le statut.
2022-07-27 15:26:59 +02:00
..
datagouv remove useless DATAGOUV_TMP_DIR env 2022-07-21 21:54:15 +02:00
administrateur_activate_before_expiration_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
auto_archive_procedure_job.rb Update Raven references to use Sentry 2021-01-28 19:46:36 +01:00
cron_job.rb add schedulable? class method to cron jobs 2022-07-21 21:54:15 +02:00
declarative_procedures_job.rb fix(DeclarativeProceduresJob.perform_now): avoid to crash other demarche when one fail 2022-06-10 14:59:36 +02:00
discarded_dossiers_deletion_job.rb fix(dossier): fix dossier.avis cascade 2021-10-26 11:16:29 +02:00
discarded_procedures_deletion_job.rb feat(procedure): only purge procedures without dossiers 2022-01-18 11:22:04 +01:00
expired_dossiers_deletion_job.rb feat(dossiers): enable dossiers termine expiration behind feature flag 2021-08-18 16:11:35 +01:00
fix_missing_antivirus_analysis_job.rb zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
instructeur_email_notification_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
notify_draft_not_submitted_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
operations_signature_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
purge_manager_administrateur_sessions_job.rb fix(manager): remove admins added for a day 2022-02-08 11:18:44 +01:00
purge_old_sib_mails_job.rb purge old sendinblue mails 2021-08-20 08:52:39 +02:00
purge_stale_archives_job.rb fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive 2022-07-25 10:48:54 +02:00
purge_stale_exports_job.rb fix(exports): purge stuck (pending) exports, not generated or failed 2022-07-27 15:26:59 +02:00
purge_stale_transfers_job.rb fix(transfer): manually nullify staled transfers references 2021-10-21 13:54:26 +02:00
purge_unattached_blobs_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
purge_unused_admin_job.rb destroy all admins 2022-05-03 12:14:02 +02:00
update_stats_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00
weekly_overview_job.rb move all the cron jobs in a dedicated directory 2020-12-08 13:22:43 +00:00