mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Move nightly tasks before introduction of archived flag on jobs
This commit is contained in:
committed by
Alexey Bezhan
parent
be6f37069b
commit
e5fd027192
@@ -67,6 +67,7 @@ def remove_csv_files(job_types):
|
||||
jobs = dao_get_jobs_older_than_data_retention(notification_types=job_types)
|
||||
for job in jobs:
|
||||
s3.remove_job_from_s3(job.service_id, job.id)
|
||||
# job.archived = true; commit;
|
||||
current_app.logger.info("Job ID {} has been removed from s3.".format(job.id))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user