03-28-2008
You might want to read
Real-time clock - Wikipedia, the free encyclopedia and this:
SunOS man pages
The latter document states that "-c" "checks for DST and makes corrections if necessary. It is normally run once a day by a cron job." I presume that if you are in a timezone with a daylight savings time you will need it.
I hope this helps.
bakunin
6 More Discussions You Might Find Interesting
1. Solaris
I noticed in my cron log file for my solaris 8 servers the rc=1. I imagine that is return code and something did not process. Does anyone know what that is, is there fix or the implications of leaving it?
Thank you
> CMD: && /usr/sbin/rtc -c > /dev/null 2>&1
> root 22049 c Fri Dec 19... (1 Reply)
Discussion started by: csgonan
1 Replies
2. Shell Programming and Scripting
what does today=${1:-${today}} mean???
I saw a script which has these two lines:
today=`date '+%y%m%d'`
today=${1:-${today}}
but both gives the same value for $today
user:/export/home/user>today=`date '+%y%m%d'`
user:/export/home/user>echo $today
120326... (2 Replies)
Discussion started by: Vidhyaprakash
2 Replies
3. UNIX for Dummies Questions & Answers
I am seeing a scenario where in if the TIMEZONE environment variable value is set to nothing i.e. putenv "TIMEZONE=" the hardware clock is +1 to software clock.Pasted below the results displayed:
-> envShow
(global environment)
0: TSC_TIME_FROM_RESET=420150.971529 seconds
1:... (0 Replies)
Discussion started by: snehavb
0 Replies
4. HP-UX
Since the lost of the rtc all the settings became default. Does anyone remember what needs to be reset to discover both Hard drives? It sees the DVD and the scsi disk (intscsib.0) in 0/1/1/1.0 (disk 1 slot) but not 0/1/1/0.1 (intscsia.1)(disk 0 slot).
Right now, from the service menu, scsi shows... (3 Replies)
Discussion started by: mrmurdock
3 Replies
5. Shell Programming and Scripting
How to create a shell script to create a folder by using the today's date to take backup using rsync command on every evening around 7 pm.
Kindly help.
Thanks.
To be more precise,
I want to create a script which matches the today's date with server's date format, if matches then creates the... (2 Replies)
Discussion started by: bakula10
2 Replies
6. Programming
This arrived in the mail from China a few days ago and, for the small money, has been a lot of fun.
Clock Shield RTC module DS1307 module Multifunction Expansion Board with 4 Digit Display Light Sensor and Thermistor For Arduino
This board is a lot of fun for a few bucks. It has a low... (1 Reply)
Discussion started by: Neo
1 Replies