From de1574316a8e413445450dd8c95d4b43f4de95c3 Mon Sep 17 00:00:00 2001 From: "Jorge Alberto Diaz Orozco (Akiel)" Date: Sun, 21 Jul 2024 20:48:33 +0200 Subject: [PATCH] Add timestamps to the "Update completed" log line --- proxylist/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxylist/tasks.py b/proxylist/tasks.py index 35ec8de..ea244f6 100644 --- a/proxylist/tasks.py +++ b/proxylist/tasks.py @@ -105,6 +105,8 @@ def update_status(): "task": inspect.currentframe().f_code.co_name, "saved": saved_proxies, "deleted": deleted_proxies, + "start_time": start_time, + "finish_time": now(), }, ) TaskLog.objects.create(