From eebfca71d3863d427143e2500c810cfa010729d4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 21 Jun 2014 09:32:41 -0700 Subject: [PATCH] delete_spammers script: log start/end times --- html/ops/delete_spammers.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/ops/delete_spammers.php b/html/ops/delete_spammers.php index 6638f019fb..7cf9c7c08d 100755 --- a/html/ops/delete_spammers.php +++ b/html/ops/delete_spammers.php @@ -157,6 +157,8 @@ function delete_banished() { } } +echo "Starting: ".strftime('%Y-%m-%d %H:%M %Z')."\n"; + for ($i=1; $i<$argc; $i++) { if ($argv[$i] == "--test") { $test = true; @@ -185,5 +187,6 @@ for ($i=1; $i<$argc; $i++) { exit; } } +echo "Finished: ".strftime('%Y-%m-%d %H:%M %Z')."\n"; ?>