Questions tagged [time]

Time is a dimension in which events can be ordered from the past through the present into the future, and also the measure of durations of events and the intervals between them.

Filter by
Sorted by
Tagged with
0 votes
0 answers
69 views

Windows server time going back to past due to time synchronization with the hardware clock

For two months we are facing issue on our Windows Server 2016 server every 10 days. Server time is going back by one hour with the below message in event log. The system time has changed to ‎2023‎-‎12‎...
Sowjanya Ravi's user avatar
0 votes
0 answers
59 views

How to trouble shoot timesynd service

How to trouble shoot the symptom where timesyncd service has been killed and cannot be found. Timesyncd has been installed. $ sudo apt -y install systemd-timesyncd Reading package lists... Done ...
mon's user avatar
  • 265
0 votes
1 answer
263 views

Docker - linux container run on Windows has different time

I work on Windows 10. I use a docker image based on Ubuntu 18.04 (FROM ubuntu:18.04). When I run a Linux container using Docker the time returned by "date" command differs from the time on ...
Irbis's user avatar
  • 101
0 votes
1 answer
60 views

time nohup ./script --> the time hasn't been logged [closed]

I need to measure the time that Firefox takes to build itself from the source code. Here's what I do normaly: nohup ./mach build > my_log.log & I then prepended time to it: time nohup ./mach ...
Kentuk's user avatar
  • 1
4 votes
2 answers
4k views

Windows Server 2022 Time Service Jumping into the future

A handful of times over the last few months one of our Windows Server 2022 boxes will show a warning in the Event Log similar to this The time service has set the time with offset 19630688 seconds., ...
chris1out's user avatar
1 vote
1 answer
43 views

What data type do big applications use to store time data?

I am trying to find out which data type is better to store time data inside either MySQL or Cassandra database for a big application like Facebook or Instagram? There are a lot of similar questions ...
best_of_man's user avatar
0 votes
1 answer
2k views

Ubuntu 20.04 refuses to sync time with Windows AD, how to trouble shoot?

I am trying to sync a Ubuntu 20.04 client to a Windows AD time server. But time will never sync. Here is what I know so far: Windows server is listening on port 123 for NTP, and replies to requests. ...
Dave's user avatar
  • 316
0 votes
1 answer
1k views

How can the local time clock of a server become the NTP time source in a network?

I want to make a the local te clock in a Stratum 1 server be the network time source for my network (I don't want a Stratum 0 server with the antenna). How may I set this up in a network? Is there a ...
Baldovín Cadena Mejía's user avatar
2 votes
1 answer
628 views

What is changing my Windows Server's date?

At my organisation we have a number of virtual machines on ESXi hosts in a number of sites. For the past few months, around once or twice a week one virtual machine, seemingly at random, will update ...
Mayzed's user avatar
  • 21
0 votes
1 answer
592 views

systemd-timedated.service: Failed to determine whether NTP is enabled: Link has been severed

Encountering this issue with RHEL 7.9 (Maipo). One server in particular is having issues with timedatectl, systemd-timedated.service, and chrony. If we run timedatectl $ timedatectl Failed to query ...
bpaterni's user avatar
  • 121
0 votes
1 answer
271 views

Geting UNIX Timestamp while logging history

I am running below bash script which is saving the history in a file, however it is logging the history with Unix epoch timestamp. I need the timestamp in human readable format. _who_am_i=$(who am i|...
Dinesh Kumar's user avatar
1 vote
1 answer
9k views

Windows NTP Server Registry Configuration

I inherited an environment with a Windows 2012R2 Domain Controller (serverA) set as the NTP server. This server is going to be retired shortly for a new (separate) 2019 instance. The domain controller ...
jrd1989's user avatar
  • 688
0 votes
2 answers
1k views

Timezone with 12h time format (AM/PM)

I have a problem with timezone in debian I need to set up zone with 12h format (AM/PM) throughout the system. Locale set to "en_US.UTF.8", output "date" command is correctly. Time ...
xXx's user avatar
  • 1
2 votes
2 answers
2k views

chrony: hosting time with RTC as authoritative clock on an air-gapped (isolated) system

I have an isolated and air-gapped LAN that I want to synchronise. I have one host that will be the authoritative time server for all clients on the LAN. It's not important that the LAN time reflects ...
davidA's user avatar
  • 393
5 votes
0 answers
1k views

Windows Server sometimes has wrong date

Having a Windows Server 2016 (hosted at Amazon AWS EC2) that is running successfully for years. Since some month I'm experiencing that the Scheduled Tasks (e.g. a task that is configured to run daily) ...
Uwe Keim's user avatar
  • 2,440
0 votes
1 answer
239 views

What was linux/unix time standard before inventing epoch? [closed]

As in the title, I was looking for, but hadn't found. How were time stored and processed before epoch standardizing in 2000?
Piotr's user avatar
  • 11
1 vote
1 answer
640 views

Incorrect PTP timestamps [closed]

I have trouble syncing to Linux systems using PTP. Setup: Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the ...
11011100's user avatar
  • 111
0 votes
1 answer
398 views

Domain users last logon time on a specific (domain joined) computer

So I have all the once_logged_in profiles listed in C:\Users folder but I need to find out when was the last time these users logged in onto the same computer locally or remotely with their domain ...
Steve's user avatar
  • 11
0 votes
0 answers
116 views

AWS time traveling issues with dhclient

I am a QA software engineer working on integration tests that require changes on the system clock to simulate the pass of the time. When running those tests on AWS EC2 instances I got unexpected ...
grg121's user avatar
  • 101
1 vote
1 answer
552 views

CRONTAB - Summer/Winder Time-Change

Since there can be problems with the time change from summer/winter or winter/summer, I wanted to ask how I could solve the problem within the bash script-2? I think in the winter time it should not ...
Omexlu's user avatar
  • 143
0 votes
0 answers
284 views

Ububut 18.0.4 LTS:- unable to start TCP/UDP discard service on port 9 and time service on port 37

I have ubuntu client 18.0.4, I am unable to telnet localhost on port 9 and port 37. root@ubuntu:~# telnet 127.0.0.1 37 telnet: Unable to connect to remote host: Connection refused root@ubuntu:~# ...
NetworkCode's user avatar
4 votes
4 answers
6k views

Sync ntp immediately at boot with undiciplined clock

I have setup one ntp server and 5 clients. I want to force sync the clients to server clock on boot. With my current ntp settings the computers are syncing but after several minutes. I cannot wait so ...
Sap's user avatar
  • 43
1 vote
0 answers
916 views

chrony time server cannot synchronize with time servers from the internet

My chrony time server with the version: 3.5-6ubuntu6.2, can get the time from another internal time server but not from time servers on the Internet. Could you please help me to synchronize my chrony ...
tom's user avatar
  • 39
1 vote
0 answers
734 views

PPS Integration with chrony

I am trying to get chrony to ingest a PPS signal to compare against just an NTP server. The PPS signal is recognized when I do ppswatch and ppstest, but when I do chronyc sources, the LastRX field ...
bchang32's user avatar
0 votes
1 answer
2k views

Windows Server VMs have incorrect time on boot (Esxi 6.7.0 Update 3)

We run ESXI 6.7.0 Update 3 (Build 14320388). The Windows 2019 VMs running on that host, when they boot, their time is incorrect. I have to manually open the Windows settings and set off and back on ...
Alex K.'s user avatar
  • 41
0 votes
1 answer
1k views

PowerShell: How to check a recurrent week time interval?

I need to create a PowerShell script, able to collect some data at each minute. However, this script cannot run during the "technical windows", that are scheduled to occur at the same week ...
Adans Jirschik's user avatar
-1 votes
1 answer
471 views

How to change time on local NTP server and distribute to others? [closed]

Is there any solution to retrieve time from a NTP server and change time locally (Increase or decrease) and then distribute new time to other servers? As an example, server retrieve UTC time and ...
Davoud Teimouri's user avatar
0 votes
1 answer
120 views

Linux DST - 25.10.2020 - change did not occur - old linux bug?

we have a strange problem on older linux kernel embedded devices that still uses /etc/tz and $TZ for setting the timezone and dst Our TZ variable has value: 'MET-1MEDT,M3.5.0,M10.5.0/03:00 And ...
Lonko's user avatar
  • 115
0 votes
2 answers
200 views

How to name a folder with today's date and time?

So i have this lil .bat setup @ECHO OFF echo %date% Copy D:\000Back\list.txt D:\111Back\ CD D:\111Back\ copy list.txt %date%_%time%.txt ECHO done PAUSE The second copy command never goes through, ...
Csupi's user avatar
  • 1
0 votes
2 answers
497 views

Is it possible to have user time > wall time? [closed]

I have obtained the following results from executing a script: real 0m1.027s user 0m1.752s I understand that: Real time is the wall time. This is the time I would have obtained if I have measured ...
franncapurro's user avatar
0 votes
1 answer
6k views

Redhat Enterprise Linux 7: How to disable DST - Daylight Saving Time

We have 16 Linux RHEL 7.5 servers in a cluster and servers are sync with crony service to NTP server We have two questions How to know if DST is configured on our servers? How to disable the DST on ...
King David's user avatar
1 vote
1 answer
517 views

Centos Linux stuck in time

Has anyone seen the Linux time being stuck, it has been driving me nuts since yesterday. # date Thu Apr 2 16:35:04 UTC 2020 # date Thu Apr 2 16:35:04 UTC 2020 # date Thu Apr 2 16:35:04 UTC 2020 # ...
Christian's user avatar
3 votes
1 answer
3k views

Subsequent calls to WMIC return a localdatetime with a deviating timezone

The problem In our company environment we use several batch files which use WMIC to retrieve the current time. Usually to print it to log files, but also to include the timestamp in a file name. ...
Alex's user avatar
  • 33
2 votes
0 answers
4k views

linux + understanding Chrony logs and conclusions from logs

we are using chrony service in order to sync linux clients to NTP server in our cluster since we get diff time between machines we enable the chrony logs to understand the reasons that machines in ...
shalom's user avatar
  • 501
0 votes
0 answers
23 views

Centos NTP time skew alerts [duplicate]

I have a couple of NTP Stratum 2 servers, and these are in sync with a Stratum 1 GPS appliance, and also peered between them selves. I would be interested in creating a job, which will create an alert ...
Mus's user avatar
  • 21
1 vote
0 answers
67 views

One RDP session time off by 6 minutes compared to server time

We have a customer with a Server 2008 R2 Remote Desktop Server. When we log onto the server via RDP as User1, the time in the RDP session matches the time of the server. When we log onto the ...
Chris Vesper's user avatar
2 votes
0 answers
771 views

Local GPS clock is marked as falseticker by ntpd — why?

I have a Linux NTP server with a ublox M8Q GPS module connected via GPIO (UART @ 9600bps and PPS). What I observe is that the local GPS source — SHM(0) — gets marked as falseticker and I'd like to ...
NPE's user avatar
  • 679
0 votes
1 answer
167 views

Convert date and time from output

I have a file with date and time on a couple thousand lines. I need to convert: 2019/08/02-01:23:50+0000 To: 02/Aug/2019-01:23:50 +0000 I so far have th=`grep ...
Ron Russey's user avatar
32 votes
1 answer
4k views

Why is the year in this ISO timestamp not 2019?

For a simple app I'm using to test a devops pipeline I'm outputting the start time of a build to the homepage. On my development machine the year of the ISO-8601 timestamp I expect, 2019, is printed (...
trycrmr's user avatar
  • 443
0 votes
0 answers
508 views

Machines experience time offset despite chronyd service running

we have 3 machines in the cluster ( redhat 7.2 ) linux_machine1 linux_machine2 linux_machine3 the machines time are like this Sun Sep 1 13:54:20 UTC 2019 - linux_machine1 Sun Sep 1 13:34:15 UTC ...
shalom's user avatar
  • 501
0 votes
0 answers
711 views

Manually change the time in CentOS 7 forwards and backwards

I want to do tests with some time based applications. I want to set the system time 3 days in the future or 5 years in the past. CentOS 7 is not allowing me to do this. Both commands below work, ...
Subzero123's user avatar
-1 votes
1 answer
1k views

understanding windows time configuration

I wish to set external time source for all Vms and HyperVs in several domains. Most of the systems are windows Server 2012 R2 or Server 2016. I have been reading a lot of explanations and I somehow ...
CanBuyukburc's user avatar
2 votes
1 answer
52 views

Local x Server processing time (only CPU)

I'm having some HUGE differences on running time when comparing local x server processes. Our laboratory has a dedicated server running Ubuntu 14 LTS as OS and PBS for Job scheduling. In total, there ...
Pedro Narloch's user avatar
0 votes
1 answer
565 views

Inconsistent elapsed time for mysql/mariadb query

Checking the elapsed time for a database query for munin monitoring,I have created a script, the time measurement part being: start=$(sed 's/^0*//'<<< `date +%N`) /usr/bin/mysql -u 3da_d9 -p*...
mbrampton's user avatar
  • 341
2 votes
1 answer
4k views

filtering event logs with specific TIME range of ANY day

How can I query windows server events between two times of any day? I have tried with PowerShell... Get-EventLog -Logname xxxx -After 04:00:00 -Before 04:00:30 ...but just returns today's events
jreinap's user avatar
  • 23
1 vote
1 answer
529 views

Server 2016 Session time limits for specific users

I am aware you can set session time limits for all idle/disconnected users on Server 2012/2016 etc, however I was wondering if there is a way to end disconnected/idle session only for some users and ...
Brett's user avatar
  • 11
1 vote
0 answers
519 views

rsync --link-dest. Time to 'building file list" incrementing

I've been running rsync as a cygwin task on Windows Server 2008 for about two months now. I'm using the --link-dest option to do a daily 'snapshot' of the contents of a server containing about 10TB ...
John Simpson's user avatar
0 votes
3 answers
767 views

Properly setting date on Linux machines

I am trying to set the system date on my linux machine. If it matters, it is an Amazon EC2 machine that I provisioned. I tried to set the date with this command: sudo date -s "19 APR 2018 11:14:00"; ...
Lorenzo Engelbert's user avatar
4 votes
0 answers
2k views

Why did w32tm /resync cause it to correct itself, then overshoot?

Background: My LAN's Windows Server 2012 R2 Domain Controller had been running without any external time server for a few years and I finally synchronized it now. It had been running about 2 minutes ...
Dai's user avatar
  • 2,290
0 votes
3 answers
3k views

How do I change the date in Google Cloud Container-Optimized OS?

I try to set date: sudo date -s "28 OCT 2018 15:00:00" but before I need to disable NTP timedatectl set-ntp false Google Cloud Container-Optimized OS doesn't have timedatectl util -bash: ...
user avatar

1
2 3 4 5
10