The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-15-2008
jim mcnamara jim mcnamara is offline
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,494
daylight savings time DOES NOT change the clock running in UTC, which is how the internal clock keeps time. It just changes how the values provided by the clock get translated into human readable form.

This affects log timestamps, etc. It also means that cron entries may run twice - this happens going from DST to standard time. Or may run not at all - this happens going to DST from standard time.

So for example, if you want to change to DST, and you do it on a Sunday at 2:00am
you can check for problem cron entries maybe this way:
Code:
 crontab -l |   perl -lane 'print "@F" if $F[1] =~ m/2/'
Hyphens or other special syntax may cause an early morning job to run with no "2" in the hours field. So the above may need changing. For Fall you need to look for "1"
Reply With Quote