From 804f8fbcb400ff9fdb975c96c33ab8eedf345b84 Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Tue, 24 Oct 2017 13:09:13 +0200 Subject: [PATCH] update last know good sync date to yesterday --- bin/sync_django_ldap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sync_django_ldap.py b/bin/sync_django_ldap.py index 04765e84..6e92b8ff 100644 --- a/bin/sync_django_ldap.py +++ b/bin/sync_django_ldap.py @@ -68,8 +68,8 @@ def main(): last_timestamp = read_timestamp(SYNC_TIMESTAMP_FILENAME) except Exception: _log.warning("Something broke reading the timestamp from %s", SYNC_TIMESTAMP_FILENAME) - last_timestamp = "201707230000Z" - _log.warning("We will resync from a while back : %s", last_timestamp) + last_timestamp = "201710230000Z" + _log.warning("We will resync from a hardcoded know working sync a while back : %s", last_timestamp) _log.info("Using timestamp %s", last_timestamp) # record starttime before starting, and take a 10 sec safety buffer so we don't get gaps where users are approved