Skip to content

Commit

Permalink
Do not store last execution if we ignored it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy authored Jan 7, 2025
1 parent 686befc commit 421f995
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def run(args, ccdb_url, rules):
logging.info(f" *** DONE *** (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})")
message = datetime.today().strftime('%Y-%m-%d-%H:%M:%S')
storeCrucialLog(message + f" - End of the cleaner (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})")
if not args.dry_run:
if not args.dry_run and not args.ignore_last_execution:
storeSavedTimestamp()

# ****************
Expand Down

0 comments on commit 421f995

Please sign in to comment.