-
as seen on Server Fault
- Search for 'Server Fault'
I need a command line tool that adjusts the time of a Windows 2008 server, using an internet clock. The purpose is to adjust the time in a script, when other apps from that script are not running.
It is not an option to use the built-in NTP service because that makes some apps on this server fail…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
My main Solaris server has an issue with its battery and thus I loose around 20 seconds per day.
Currently I am using rdate once in the morning to synchronise the time. Which approach should I use until I can change the battery on a weekend? Should I switch from rdate to ntp? The machine runs plenty…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a simplified table xx as follows:
rdate date
rtime time
rid integer
rsub integer
rval integer
primary key on (rdate,rtime,rid,rsub)
and I want to get the average (across all times) of the sums (across all ids) of the values.
By way of a sample table, I have (with consecutive identical…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
$LDATE = '#' . $_REQUEST['LDateDay'] . '/' . $_REQUEST['LDateMonth'] . '/' . $_REQUEST['LDateYear'] . '#';
$RDATE = '#' . $_REQUEST['RDateDay'] . '/' . $_REQUEST['RDateMonth'] . '/' . $_REQUEST['RDateYear'] . '#';
include("../../sql.php");
$myconn2 = mysql_connect(/*removed*/, $username…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
this statement will generate a 4 column table:
SELECT shipped.badguy AS badguy, shipped.sdate AS LineDate,
'Delivery' AS Legend, -price*quantity AS amount
FROM product JOIN shipped ON (product.id = shipped.product)
UNION
SELECT receipt.badguy, receipt.rdate,notes, amount
FROM
how…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
When the ntpd daemon is running, the file: /var/lib/ntp/ntp.drift gets updated periodically. Example:
17:20 hostname 118 ~> ls -l /var/lib/ntp/ntp.drift
-rw-r--r-- 1 ntp ntp 7 May 20 16:46 /var/lib/ntp/ntp.drift
# So it looks like it was last updated ~34 minutes ago
The file has one number…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have a Cisco 877W which I'm using for my home ADSL connection (and as a refresher in Cisco IOS). I've got a working config in-place with my PPPoA connection coming online correctly, and VLANs and other settings configured as I want them, but I can't crack the NTP configuration.
For NTP, I have…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have an issue with Ubuntu Quantal, as it shows the wrong time. It is completely messy, the right time from time.is now is 09.43 and my clock shows 17.48. I am using ntp service and I already checked the timezone and it is correct. I also checked the hardware clock through
sudo hwclock --showsudo…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
i'm planning to change the NTP peer to 172.29.100.44,but i'm unable to delete the existing and add new peer NTP peer IP in Nexus switch,Please suggest me in removing the existing configuration.
i have use the below commands to remove the peer,But still its not getting deleated from running configuration…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello !
I have tried to sett my DC to get its time from several NTP severs.
I follow this answer (http://serverfault.com/questions/24298/w32time-sync-problems-for-hyper-v-guests-w32time-event-ids-38-24-29-35/24299#24299) to do it.
First I disable Time Synchronization in the Hyper-V Integration…
>>> More