Mailing List Archive

svn commit: r438108 - /spamassassin/trunk/build/automc/run_nightly
Author: jm
Date: Tue Aug 29 09:16:09 2006
New Revision: 438108

URL: http://svn.apache.org/viewvc?rev=438108&view=rev
Log:
add more explanation to the note about sleeping to evade DST

Modified:
spamassassin/trunk/build/automc/run_nightly

Modified: spamassassin/trunk/build/automc/run_nightly
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/automc/run_nightly?rev=438108&r1=438107&r2=438108&view=diff
==============================================================================
--- spamassassin/trunk/build/automc/run_nightly (original)
+++ spamassassin/trunk/build/automc/run_nightly Tue Aug 29 09:16:09 2006
@@ -16,9 +16,11 @@
nightly_trees="/home/bbmass/mc-nightly"


-# ensure we're running after 0900 UTC; complex due to daylight savings.
-# If we're running in the 08xx UTC hour-space, sleep for 1 hour; when
-# we wake, we will be in 09xx.
+# Ensure we're running after 0900 UTC; complex due to daylight savings. If
+# we're running in the 08xx UTC hour-space, sleep for 1 hour; when we wake, we
+# will be in 09xx. By doing it this way, we'll work both for (a) mass-checks
+# set to run from cron at 09xx (cron doesn't understand DST/UTC issues) and (b)
+# mass-checks starting at other times that != 09xx.
(
TIME="%e,%U,%S"; TZ=UTC; export TIME TZ
if date | egrep '^... ... .. 08:'; then