Commit f9dfb59e authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[utils][commands][daily_cron_actions] Add call for attestations cleanup

The cleanup command was called as part of the warning sending
which is reversed logic, therefore the warning command now does
just the sending part and a call to clean_attestations has
been added here.
parent 4cf9c969
Pipeline #43015 failed with stage
in 15 minutes and 29 seconds
......@@ -37,9 +37,12 @@ class Command(BaseCommand):
def handle(self, *args, **options):
# Send attestations cleanup warnings and cleanup attestations
# Send attestations cleanup warnings
call_command("send_attestation_cleanup_warning")
# Cleanup attestations
call_command("clean_attestations", "--noinput")
# Send report cleanup warnings and cleanup reports
call_command("send_report_cleanup_warning_and_cleanup")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment