Sponsored Content
Full Discussion: Is rtc still needed today?
Top Forums UNIX for Dummies Questions & Answers Is rtc still needed today? Post 302179619 by sparkysun on Friday 28th of March 2008 07:39:31 AM
Old 03-28-2008
Is rtc still needed today?

Hi,
I'm administrating a pretty old solaris (2.6) system. In the cronjobs I found that every night 2 o'clock a cronjob starts /usr/sbin/rtc -c. I've never seen this app in my life before so I looked at the manpage and it told rtc is for syncing Dos and Unix Systems. Did I understand it correctly?

Is there any need today to let rtc run? What's up with the system clock on solaris systems? I'm wondering if I can remove this cronjob.

Any help would be great Smilie

cheers
 

6 More Discussions You Might Find Interesting

1. Solaris

crontab /usr/sbin/rtc log rc=1

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

meaning of today=${1:-${today}}

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

VxWorks RTC time giving wrong value at random times

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

Need Hardware help on a RP4440 that lost the RTC and does not see both hard drives

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

Help Needed for creating the folder by checking today's date and, take backup using rsync command

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

Ardunio Tick-Tock DS1307 RTC Shield Basics

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
rtc(1M) 						  System Administration Commands						   rtc(1M)

NAME
rtc - provide all real-time clock and GMT-lag management SYNOPSIS
/usr/sbin/rtc [-c] [-z zone-name] DESCRIPTION
On x86 systems, the rtc command reconciles the difference in the way that time is established between UNIX and MS-DOS systems. UNIX systems utilize Greenwich Mean Time (GMT), while MS-DOS systems utilize local time. Without arguments, rtc displays the currently configured time zone string. The currently configured time zone string is based on what was last recorded by rtc-z zone-name. The rtc command is not normally run from a shell prompt; it is generally invoked by the system. Commands such as date(1) and rdate(1M), which are used to set the time on a system, invoke /usr/sbin/rtc -c to ensure that daylight savings time (DST) is corrected for properly. OPTIONS
-c This option checks for DST and makes corrections if necessary. It is normally run once a day by a cron job. If there is no RTC time zone or /etc/rtc_config file, this option will do nothing. -z zone-name This option, which is normally run by the system at software installation time, is used to specify the time zone in which the RTC is to be maintained. It updates the configuration file /etc/rtc_config with the name of the specified zone and the current GMT lag for that zone. If there is an existing rtc_config file, this command will update it. If not, this command will create it. FILES
/etc/rtc_config The data file used to record the time zone and GMT lag. This file is completely managed by /usr/sbin/rtc, and it is read by the kernel. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
date(1), rdate(1M), attributes(5) SunOS 5.11 3 Oct 2003 rtc(1M)
All times are GMT -4. The time now is 01:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy