Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [timer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

Executing a script after every login / password entry in Windows

How can I schedule a (batch-) script to be executed after every Windows log-in (not only after boot-up, but after every screenlock + PIN-entry)? (Background: I want to code an automatic reminder to ...
Dan's user avatar
  • 21
0 votes
0 answers
69 views

Why won't my PC sleep or hibernate from a timer?

I previously had issues with my Windows 10 PC sleeping and instantly waking up due to LAN, which I fixed. The computer will sleep and hibernate fine when told directly, and doesn't wake itself up. Now ...
Matt S's user avatar
  • 1
0 votes
0 answers
551 views

Why is my systemd timer inactive after reboot or resume although it is enabled

I have created a SystemD timer to trigger a service but my timer does not start after PC reboot or resume although it is enabled : $ sudo reboot ....AFTER reboot... $ systemctl is-enabled ncc-record....
SebMa's user avatar
  • 1,843
0 votes
1 answer
580 views

Why does my systemd timer show in the inactive timers although I have enbled it?

I have created the following SystemD timer and service and enabled the timer : $ sudo install -vpm 644 ncc-record.* /usr/local/lib/systemd/system/ 'ncc-record.service' -> '/usr/local/lib/systemd/...
SebMa's user avatar
  • 1,843
0 votes
1 answer
524 views

Running shell Script via Systemd.timer

So I've essentially run into the same problem as in my other question: Running shell Script via Crontab I will now run my shell script with systemd.timer but it is not working so far. Here is my ...
Sebastian Illi's user avatar
0 votes
1 answer
228 views

SystemD timer error on CentOS7 : Failed to parse calendar specification, ignoring: Mon..Sat *-*-* 18:00:00

My timer is rejected by the system on CentOS7 : $ journalctl -u synchro_ADN_To_Scality.timer --no-pager | sed 's/^.*systemd.1.: //' | sort -u -- Logs begin at Thu 2023-04-06 10:25:28 CEST, end at Thu ...
SebMa's user avatar
  • 1,843
0 votes
1 answer
814 views

systemd & logrotate: missing error messages in systemd journal

I have just discovered a problem that I don't understand (SLES15 SP2): I had mis-configured one logrotate service (in /etc/logrotate.d). In SLES 15 logrotate.service is triggered by logrotate.timer ...
U. Windl's user avatar
  • 639
1 vote
0 answers
2k views

Windows 10 pc doesn't wake to run scheduled task that's set to "Wake this computer to run this task."

I wrote brieflySleep.bat to put the pc to sleep for 10 seconds, in order to power-cycle my ssd. (More about the purpose below, in case someone is curious.) brieflySleep executes the "SCHTASKS /...
millie wave's user avatar
1 vote
2 answers
3k views

How to set a recurring timer in windows

I want to set a timer which auto restart after each loop. I am trying to do so with Alarms & Clock but can't find the feature. OS: windows 10
BND's user avatar
  • 175
10 votes
2 answers
4k views

Have systemd timer *not* run on boot, only on schedule

I'm having an issue where I have a bunch of systemd timers set to run on a schedule to do various backup related tasks. They run successfully at the appointed time. However they also run when the ...
mishac's user avatar
  • 291
14 votes
2 answers
9k views

How to get a systemd timer out of n/a status?

I'm trying to setup a systemd timer to run twice a day during a working week. Once is at 7:00 AM, and once at 1:00 PM. The *.timer and *.service files are below. I install and enable them, and ...
jww's user avatar
  • 12.2k
5 votes
3 answers
17k views

ffmpeg filter to add timestamp on video

I have a problem displaying the timer on the video. I have consulted a few examples, but it does not show success. Help me fix it.
Lea... FFmpeg's user avatar
0 votes
1 answer
192 views

Visual Studio 2017&2019 > User Control + Started Timer = Crash :|

When I add a Timer to User Control with Visual Studio 2017 Or 2019 and Start() it the Visual studio Crash when add the User Control contains a Working Timer to a Form.
Magnos's user avatar
  • 1
1 vote
1 answer
306 views

Why Systemd.timer got paused for sometime with OnCalendar

I am using Systemd.Timer to run my code every second. But the cronjob did not work well. It paused for every six or seven second. Like this: Sun Jul 28 18:49:34 CST 2019 Sun Jul 28 18:49:35 CST 2019 ...
Diya Li's user avatar
  • 113
3 votes
1 answer
4k views

Starting and stopping systemd services with OnCalendar for a period of time, every day

I have a two services (a video player and an image recognition daemon) that I want to start at 9am and finish running at 23pm every day (as well as on boot, although the system is going to be running ...
alexm's user avatar
  • 1,091
0 votes
1 answer
100 views

Is there anyway to know if my windows 7 was shutdown by the normal Menu or the shutdown command?

Is there anyway to know if in some specific day a Windows 7 computer was shutdown using the normal "Windows button > Click Shutdown" or using the shutdown /s /t (seconds) from the command line?
Joshua Mccarty's user avatar
4 votes
1 answer
6k views

Changing Windows thread sheduler timeslice

This question is about possibility of tweaking windows kernel towards real-time like oses, and ways of doing it. It is quite specific narrow topic that requires deep level of knowledge - you either ...
xakepp35's user avatar
  • 369
0 votes
0 answers
847 views

Windows 10 timer does not automatically sync

Solved - see below My computer time is approx. 5 minutes behind. I can correct it manually, but automatic synchronization never works regardless of the NTP server I use (any of time.nist.gov or the ...
samtal's user avatar
  • 1
2 votes
1 answer
563 views

User input stopping timer and task

Is it possible to have in a batch file a message saying "press any key to abort task" and have it on a timer? When the time runs out, it continues on with the task. If the user presses a key, the task ...
Christian Sirolli's user avatar
1 vote
1 answer
1k views

systemd timer: Get last execution in 8601 format

Is it possible to get the last execution time from a systemd timer? Example: systemctl list-timers dnf-automatic.timer NEXT LEFT LAST PASSED ...
user3549596's user avatar
0 votes
2 answers
3k views

Javascript timer annoyance workarounds

Everyone knows this website experience: Download starts in... XX seconds. How to find the identify and modify the correct countdown variable before e.g. 30s have passed? My current (too slow) way: ...
user2305193's user avatar
0 votes
1 answer
107 views

systemd run service during the day

I would like to set up my server so that it only connects to the internet during the day. I created a timer file: [Unit] Description=Start and stop the internet [Timer] OnCalendar*-*-* 06:00:...
Samuel's user avatar
  • 152
0 votes
1 answer
4k views

Trying to create a Start/Stop Timer using an Excel Macro

I'm new to creating Macros in Excel and have been trying to understand VBA by taking apart Macros others have made. What I'm trying to create right now is a Start/Stop timer of sorts to measure how ...
Mel's user avatar
  • 1
2 votes
1 answer
1k views

Is there any way to get correct system time without NTP?

I'm developing industrial embedded device on the ARMv7, 3.10 kernel. First, before taking up the main subject, let me talk about hardware time. Amlogic meson8b is core unit, so i used "aml-rtc" as ...
GTKoo's user avatar
  • 21
1 vote
1 answer
2k views

Real time countdown on powerpoint slides

I have to do a presentation soon and it has to be around 15 minutes. To keep track of time (and not look at my watch all the time) I'd like to add a countdown of 15 minutes to my powerpoint ...
paskl's user avatar
  • 123
0 votes
1 answer
869 views

System tick timer interrupt in SMP

Is system tick timer interrupt in SMP system synchronized among CPUs/cores? If not, how is it solved?* Sorry for my English. EDIT: With system tick timer interrupt I mean interrupt from system timer ...
Nik Novák's user avatar
0 votes
0 answers
582 views

System tick timer interrupt priority and blocked interrupts

Assume we have an OS that is running on a CPU which is fully compatible with its requirements. This OS is tick driven. System tick interrupt arrive from external timer (periodic mode) which is ...
Nik Novák's user avatar
1 vote
1 answer
751 views

Is the countdown timer browser dependent?

I have used a jQuery countdown timer in a website. But what I observed is that, it shows different time on different browsers, like the timer shown on chrome/ firefox differs with that shown on IE. ...
Akshay's user avatar
  • 111
5 votes
2 answers
8k views

What is meant by timer resolution in microseconds?

Sorry for putting up too simple of a question but I wanted to know what It meant by timer resolution in microseconds and resolution in nanoseconds? On what Basis this resolution is chosen ? Is it ...
AMIT 's user avatar
  • 547
0 votes
1 answer
44 views

Timer to awake Windows System from Sleep after certain time (may be 5 minutes)

Is for testing my Laptop (Some times it Freeze while going to sleep,Need Hard reboot). Need a solution to test it overnight. I set 'Put the computer to Sleep After' to 5 Minutes Now I need a ...
Arun's user avatar
  • 545
1 vote
0 answers
183 views

Windows 10 Sound Settings for one app only

I have all sound turned off in Windows 10. I'd like to install a timer and have it actually ring aloud. The app included in the W10 download doesn't ring. How do I enable sound for just one program?...
Sylvia Caras's user avatar
0 votes
1 answer
6k views

How to make a timer and a loop in a batch file?

I need some help completing my .bat file. So what I wanna do is that after the program has started I wanna leave it running for like 1min then I want it to close the program and then run it agian for ...
Qurt's user avatar
  • 3
-1 votes
1 answer
134 views

Batch file timer [closed]

I would like to know I there is any way to make a timer in a batch file where you press something and it does something and if you don't it does something else Thanks
Thomas Wessel's user avatar
5 votes
2 answers
2k views

I need a way to disable/freeze Windows PC or keyboard/mouse for 15 minutes of every hour. What can I do?

I am looking for a way to disable a Windows PC for x minutes every y minutes, ( 15 minutes every 1 hour for example ), where the pc is disabled/frozen, or the keyboard/mouse frozen for an interval and ...
NickNo's user avatar
  • 196
-1 votes
1 answer
2k views

Timed Webcam Capture Program Win7 [closed]

I have a couple of webcams and I want to be able to automatically capture an HD image from at least one of them every X minutes and just put them into a folder of my choosing. I don't want any ...
ibrokemypie's user avatar
0 votes
1 answer
988 views

Export org agenda views periodically in Emacs

To export org agenda views in a text file for further processing, I run (org-batch-store-agenda-views) periodically as an Emacs batch job run by cron. Because there is some overhead in starting an ...
mike3996's user avatar
  • 1,571
0 votes
0 answers
1k views

Running an Autohotkey timer script when computer was off at scheduled time

The below script opens a file at a specific time via AHK. If the computer is off at that time, what should be the way to run this script ? #Persistent SetTimer, CheckTime, 5000 Return ...
AMDG's user avatar
  • 419
1 vote
4 answers
5k views

How can I launch games so that while playing there is a visible, but not obtrusive session timer visible?

When I play games, it would be useful to know how long I've been playing (without having to remember when I started). Several solutions exist that provide session timers, but they are obtrusive, ...
Gabriel's user avatar
  • 2,940
6 votes
6 answers
6k views

Launching gnome-shell-timer in Unity?

I'd like to have a countdown timer in my taskbar on an Ubuntu 12.04 machine with Unity 2D. My use case is primarily time management, for example "countdown from 30 minutes, and I'll take a break when ...
solvingPuzzles's user avatar
2 votes
1 answer
762 views

Access 2003 VBA Form_Timer not firing during mouse drag

I want to catch a repeated 500ms Form_Timer event while dragging the mouse. i.e. between mouse down and mouse up events. The Timer event is firing outside of the drag but not inside. The reason for ...
user167471's user avatar
4 votes
0 answers
882 views

Slow down clock/timer of a Linux program

Sometimes a Linux program requiring fast user interaction/manual dexterity runs too fast for me to keep up. Examples include video games and video players that don't let you control the speed. How ...
Mechanical snail's user avatar
1 vote
1 answer
402 views

Shutdown / hibernation timer that blocks powersave functions such as standby

I used to use Vista Shutdown Timer to put my machine into planned hibernation. However, it does not block powersave function of my power plans such as standby after certain time etc. Hence, sometimes ...
orschiro's user avatar
  • 3,635
0 votes
1 answer
111 views

How can I switch windows on a timed basis

I would like to have one window maximized for X minutes, then have it switch to another window ad infinitum (Windows 7/2008 R2). How can I accomplish this?
John's user avatar
  • 1
5 votes
6 answers
25k views

How to send myself an email every 30 min as a reminder? [closed]

How to send an email to myself every 30 min, until I stop it? I'm working on a special type of support case and I need to update my clients every 30 min. So, if I received an email every 30 min that ...
Craig's user avatar
  • 293
3 votes
2 answers
4k views

How to change PC clock speed for individual programs?

We have some older programs (no source code anymore) that run too fast on CPUs with faster clock speeds. I'm guessing that they were written using software delays ('X' number of CPU instructions per ...
user avatar
1 vote
1 answer
516 views

How can I measure the amount of time a process is opened?

I would like to keep track of the amount of time a process is opened on Windows 7. Is there an utility that does this? The process will be the process of a game or of an IM program. I want to program ...
SuperSpy's user avatar
  • 245
7 votes
3 answers
24k views

Auto-terminate a Windows application after a given amount of time

I'm looking for a way for a user to launch a Windows application that will only run for a given amount of time, say an hour. After the hour is up, an alert window will pop up, saying "Program will be ...
Alex Chernavsky's user avatar
6 votes
4 answers
3k views

When exactly does a Windows program pause running?

I have an app that needs to run for long period unattended on Windows XP and 7. I have it running on a remote machine that has LogMeIn installed so I can look at it from afar. The program has regular ...
rossmcm's user avatar
  • 1,596
0 votes
2 answers
2k views

Shutdown Timer with Password Protection

I need an shutdown timer application that can run on Windows XP. I would like for it to require a password to cancel the timer.
Eko Kurniawan Khannedy's user avatar
2 votes
1 answer
265 views

Is there a Thunderbird add-on that prevents too much email checking?

I have been looking for a timer, a bit similar to Leechblock for Firefox; I could set it to, say, 30min, meaning that Thunderbird can only be on for 30min a day. The clock would reset everyday. I had ...
Pat's user avatar
  • 21