<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2>Hi Dave,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2>&nbsp; No, cron doesn't handle UTC time at all.&nbsp; 
Vixiecron, the stock RedHat cron does execute jobs that happen during the 
missing hour when we spring ahead, and does not execute jobs twice when we fall 
back, but that's it.&nbsp; You can specify minute, hour, day of month, month, 
day of week, but no time zone.&nbsp; This is why I generally recommend that cron 
jobs start 1+ hours after the start of the dashboard, then the timing can't get 
out of sync...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2>&nbsp; I like your suggestion: would be easier to explain 
why the dashboard starts at 9:00 or 11:00 pm rather than 10:00pm instead of 
debugging why builds get lost after daylight savings.&nbsp; We could setup the 
stock project as UTC, but our Australian friends would have default dashboards 
that start at 9:00am, which isn't that useful...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial 
color=#0000ff size=2>-dan</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> David Cole 
  [mailto:david.cole@kitware.com] <BR><B>Sent:</B> Wednesday, November 29, 2006 
  8:36 AM<BR><B>To:</B> Blezek, Daniel J (GE, Research)<BR><B>Cc:</B> Tobias 
  Kaupp; dart@public.kitware.com; CMake<BR><B>Subject:</B> Re: [Dart] nightly 
  builds fall behind<BR></FONT><BR></DIV>
  <DIV></DIV>[Cross-posted to the CMake list as food for 
  thought...]<BR><BR>Maybe there should be a recommendation in the docs for 
  people setting up new Dart servers / new dashboards that they express the 
  project start time in UTC. And propagate that recommendation out to ctest 
  users who set up dashboards via DartConfig.cmake or CTestConfig.cmake... Are 
  there default/sample projects that could be modified to encourage 
  this?<BR><BR>If everybody expressed times in the project files as UTC, 
  everybody would get used to thinking in terms of "how does my time zone relate 
  to UTC" and this question would be asked a bit less frequently. <BR><BR>Then 
  we would just need crontab cron jobs to allow time expressions in terms of UTC 
  (or does it already and I just don't know...?)<BR><BR>:-)<BR>Dave<BR><BR><BR>
  <DIV><SPAN class=gmail_quote>On 11/29/06, <B class=gmail_sendername>Blezek, 
  Daniel J (GE, Research)</B> &lt;<A 
  href="mailto:blezek@crd.ge.com">blezek@crd.ge.com</A>&gt; wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi 
    Dave,</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>&nbsp; 
    It's a really good question actually.&nbsp; All times for Dart may be 
    expressed as UTC (I for one would prefer it), but local users are welcome to 
    express these times in their local time zone.&nbsp; Since UTC is a fixed 
    time, it doesn't obey silly daylight savings rules which can lead to sudden 
    switching of your dashboard to time from 10:00pm to 11:00pm.&nbsp; If the 
    time is expressed in the local time, without time zone, the dashboard keeps 
    the 10:00pm end time regardless of daylight savings (switch between EST and 
    EDT).</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>&nbsp; 
    All times that come out of Dart in the archive files are UTC and the Dart2 
    format expressly requires UTC times.</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2>-dan</FONT></SPAN></DIV><BR>
    <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
      <DIV lang=en-us dir=ltr align=left>
      <HR>
      <FONT face=Tahoma size=2><B>From:</B> David Cole [mailto:<A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:david.cole@kitware.com" 
      target=_blank>david.cole@kitware.com</A>] <BR><B>Sent:</B> Tuesday, 
      November 28, 2006 5:03 PM<BR><B>To:</B> Blezek, Daniel J (GE, 
      Research)<BR><B>Cc:</B> Tobias Kaupp; <A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:dart@public.kitware.com" 
      target=_blank>dart@public.kitware.com</A><BR><B>Subject:</B> Re: [Dart] 
      nightly builds fall behind<BR></FONT><BR></DIV>
      <DIV><SPAN class=e id=q_10f33dceec79195f_1>
      <DIV></DIV>I know there are no "stupid" questions, but this sure seems 
      like one: why aren't all times for Dart expressed as UTC? Seems like most 
      projects I've heard that are using Dart have contributors spread all 
      around the world... <BR><BR>Just curious,<BR>Dave<BR><BR>
      <DIV><SPAN class=gmail_quote>On 11/28/06, <B 
      class=gmail_sendername>Blezek, Daniel J (GE, Research)</B> &lt;<A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:blezek@crd.ge.com" target=_blank>blezek@crd.ge.com</A>&gt; 
      wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Tobias,<BR><BR>&nbsp;&nbsp;This 
        is exactly why we hate daylight savings around here.&nbsp;&nbsp;Glad you 
        figured it out!&nbsp;&nbsp;If it's all the same to you, it might be a 
        good idea to separate Dart's idea of start time and your cron job by 1.5 
        hours.&nbsp;&nbsp;Then you (almost) never have to 
        worry.<BR><BR>-dan<BR><BR>-----Original Message-----<BR>From: 
        dart-bounces+blezek=<A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:crd.ge.com@public.kitware.com" 
        target=_blank>crd.ge.com@public.kitware.com</A> [mailto:<A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:dart-bounces+blezek=crd.ge.com@public.kitware.com" 
        target=_blank> dart-bounces+blezek=crd.ge.com@public.kitware.com</A>] On 
        Behalf Of Tobias Kaupp<BR>Sent: Tuesday, November 28, 2006 4:53 
        PM<BR>To: <A onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:dart@public.kitware.com" 
        target=_blank>dart@public.kitware.com</A><BR>Subject: RE: [Dart] nightly 
        builds fall behind <BR><BR>To answer my own question:<BR><BR>It had to 
        do with the daylight savings. NIGHTLY_START_TIME "04:00:00 EAST"<BR>(in 
        DartConfig.cmake) maps to 5am in summer (the timestamp field on the 
        webpage <A onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://129.78.210.237:8081/orca2/Dashboard/" 
        target=_blank>http://129.78.210.237:8081/orca2/Dashboard/</A> shows 5am 
        which I hadn't noticed). The cronjob ran at 4.15am before, so results 
        got submitted to the day before. I moved it to 5.15am and it works 
        now.<BR><BR><BR>&gt; Hi all, <BR>&gt;<BR>&gt; we have some trouble with 
        the nightly tests. For some reason, they<BR>&gt; started falling one day 
        behind (see<BR>&gt; <A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://129.78.210.237:8081/orca2/Dashboard/" 
        target=_blank>http://129.78.210.237:8081/orca2/Dashboard/ 
        </A>).<BR>&gt;<BR>&gt; We run a cron job at 4.15 am and our 
        DartConfig.cmake specifies the<BR>&gt; following:<BR>&gt; SET 
        (NIGHTLY_START_TIME "04:00:00 EAST")<BR>&gt;<BR>&gt; From our log 
        file:<BR>&gt;<BR>&gt; ---------------------------------------- <BR>&gt; 
        Sat Nov 25 04:57:57 EST 2006<BR>&gt; 
        ----------------------------------------<BR>&gt; Determine Nightly Start 
        Time<BR>&gt; Specified time: 04:00:00 EAST<BR>&gt; Create new tag: 
        20061123-1800 - Nightly<BR>&gt;<BR>&gt; This tag should be 20061124-1800 
        instead (it used to work).<BR>&gt;<BR>&gt; Any idea why it's doing 
        this?<BR>&gt;<BR>&gt; Cheers, Tobias<BR>&gt;<BR>&gt;<BR>&gt; Here is our 
        full DartConfig.cmake:<BR>&gt; ============================ <BR>&gt; SET 
        (DROP_METHOD "xmlrpc")<BR>&gt; SET (DROP_SITE "<A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://opium.acfr.usyd.edu.au:8081" 
        target=_blank>http://opium.acfr.usyd.edu.au:8081</A> ")<BR>&gt; SET 
        (DROP_LOCATION "orca2")<BR>&gt; SET (COMPRESS_SUBMISSION ON) 
        <BR>&gt;<BR>&gt; # Dashboard is opened for submissions for a 24 hour 
        period starting at<BR>&gt; # the specified NIGHLY_START_TIME. Time is 
        specified in 24 hour<BR>&gt; format.<BR>&gt; SET (NIGHTLY_START_TIME 
        "04:00:00 EAST") <BR>&gt;<BR>&gt; # Set up valgrind<BR>&gt; 
        FIND_PROGRAM(MEMORYCHECK_COMMAND<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; NAMES 
        valgrind<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
        PATHS<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; DOC "Path to valgrind, used for 
        memory error detection."<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
        )<BR>&gt;&nbsp;&nbsp; SET(MEMORYCHECK_SUPPRESSIONS_FILE "" CACHE 
        FILEPATH "File that <BR>&gt; contains suppressions for the memmory 
        checker")<BR>&gt; ================================<BR>&gt;<BR>&gt; 
        Here's the script we run:<BR>&gt;<BR>&gt; 
        =======================<BR>&gt; SET (DASHBOARD_ROOT 
        "/home/users/dart/ctests/orca/orca2-nightly") <BR>&gt; SET 
        (CTEST_SOURCE_DIRECTORY "${DASHBOARD_ROOT}/orca2") SET<BR>&gt; 
        (CTEST_BINARY_DIRECTORY "${DASHBOARD_ROOT}/build-gcc40")<BR>&gt;<BR>&gt; 
        SET (CTEST_CVS_COMMAND "cvs")<BR>&gt;<BR>&gt; # which command to use for 
        running the dashboard # #SET (CTEST_COMMAND <BR>&gt; "ctest -D 
        NightlyMemoryCheck -A<BR>&gt; 
        \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\"" ) SET<BR>&gt; 
        (CTEST_COMMAND "ctest -D NightlyMemoryCheck -A<BR>&gt; 
        \"${CTEST_BINARY_DIRECTORY}/cmake_config_report.txt\"" ) 
        <BR>&gt;<BR>&gt; # what cmake command to use for configuring this 
        dashboard SET<BR>&gt; (CTEST_CMAKE_COMMAND "cmake" )<BR>&gt;<BR>&gt; # 
        should ctest wipe the binary tree before running SET<BR>&gt; 
        (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE) <BR>&gt;<BR>&gt; # this 
        is the initial cache to use for the binary tree, be careful to<BR>&gt; 
        escape # any quotes inside of this string if you use it SET<BR>&gt; 
        (CTEST_INITIAL_CACHE "<BR>&gt; MAKECOMMAND:STRING=make <BR>&gt; 
        BUILDNAME:STRING=Debian-gcc40<BR>&gt; SITE:STRING=<A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://devdebian.acfr.usyd.edu.au" 
        target=_blank>devdebian.acfr.usyd.edu.au</A><BR>&gt; 
        CMAKE_BUILD_TYPE:STRING=Debug<BR>&gt; BUILD_JAVA:BOOL=ON<BR>&gt; 
        BUILD_IMAGE_SERVER:BOOL=ON <BR>&gt; ")<BR>&gt;<BR>&gt; # set any extra 
        envionment variables here SET (CTEST_ENVIRONMENT<BR>&gt;&nbsp;&nbsp; 
        ORCA2_INSTALL=/opt/orca2-nightly<BR>&gt;&nbsp;&nbsp; 
        CC=/usr/bin/gcc-4.0<BR>&gt;&nbsp;&nbsp; 
        CXX=/usr/bin/g++-4.0<BR>&gt;&nbsp;&nbsp; CXXFLAGS=-fprofile-arcs 
        -ftest-coverage <BR>&gt;&nbsp;&nbsp; CFLAGS=-fprofile-arcs 
        -ftest-coverage<BR>&gt;&nbsp;&nbsp; LDFLAGS=-fprofile-arcs 
        -ftest-coverage<BR>&gt; )<BR>&gt; 
        =======================<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; 
        -------------------------------------------------------------- <BR>&gt; 
        Tobias Kaupp<BR>&gt;<BR>&gt; ARC Centre of Excellence for Autonomous 
        Systems (Australian Centre for<BR>&gt; Field Robotics) The Rose St 
        Building, J04 The University of Sydney,<BR>&gt; NSW 2006 
        Australia<BR>&gt;&nbsp;&nbsp; <BR>&gt;<BR>&gt; Phone: +61 2 9351 
        7154<BR>&gt; Fax: +61 2 9351 7474<BR>&gt; Email: <A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:t.kaupp@cas.edu.au" 
        target=_blank>t.kaupp@cas.edu.au</A><BR>&gt; Web: <A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://www.acfr.usyd.edu.au/people/postgrads/t.kaupp/" 
        target=_blank>http://www.acfr.usyd.edu.au/people/postgrads/t.kaupp/ 
        </A><BR>&gt; 
        --------------------------------------------------------------<BR>&gt; 
        _______________________________________________<BR>&gt; Dart mailing 
        list<BR>&gt; <A onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:Dart@public.kitware.com" 
        target=_blank>Dart@public.kitware.com </A><BR>&gt; <A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://public.kitware.com/mailman/listinfo/dart" 
        target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR>&gt;<BR>&gt;<BR><BR><BR>_______________________________________________ 
        <BR>Dart mailing list<BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:Dart@public.kitware.com" 
        target=_blank>Dart@public.kitware.com</A><BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://public.kitware.com/mailman/listinfo/dart" 
        target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR>_______________________________________________ 
        <BR>Dart mailing list<BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:Dart@public.kitware.com" 
        target=_blank>Dart@public.kitware.com</A><BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://public.kitware.com/mailman/listinfo/dart" 
        target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>