Questions tagged [timer]
The timer tag has no usage guidance.
61
questions
0
votes
1
answer
9
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 ...
0
votes
1
answer
465
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 ...
1
vote
0
answers
1k
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 /...
0
votes
2
answers
2k
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
7
votes
2
answers
2k
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 ...
13
votes
2
answers
7k
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 ...
3
votes
2
answers
12k
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.
0
votes
1
answer
170
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.
1
vote
1
answer
226
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
...
3
votes
1
answer
3k
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 ...
0
votes
1
answer
99
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?
4
votes
1
answer
5k
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 ...
0
votes
0
answers
797
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 ...
2
votes
1
answer
376
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 ...
1
vote
1
answer
830
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 ...
0
votes
2
answers
2k
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: ...
0
votes
1
answer
75
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:...
0
votes
1
answer
3k
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 ...
2
votes
1
answer
925
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 ...
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 ...
0
votes
1
answer
797
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 ...
0
votes
0
answers
549
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 ...
1
vote
1
answer
705
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.
...
5
votes
2
answers
7k
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 ...
0
votes
1
answer
42
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 ...
1
vote
0
answers
176
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?...
0
votes
1
answer
5k
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 ...
-1
votes
1
answer
127
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
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 ...
-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 ...
0
votes
1
answer
922
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 ...
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
...
1
vote
4
answers
4k
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, ...
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 ...
2
votes
1
answer
740
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 ...
3
votes
0
answers
837
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 ...
1
vote
1
answer
398
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 ...
0
votes
1
answer
105
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?
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 ...
3
votes
2
answers
3k
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 ...
1
vote
1
answer
515
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 ...
5
votes
3
answers
20k
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 ...
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 ...
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.
2
votes
1
answer
249
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 ...
1
vote
2
answers
852
views
Pomodoro timer for linux that I can install without admin rights
What I need is a pomodoro timer (www.pomodorotechnique.com/) that I can use on a gnome linux (openSUSE) workstation that I use at work. It has to be able to show a popup notification so that I don't ...
4
votes
1
answer
267
views
What can i use for a Mac to limit each computer session to 15 minutes?
I had a software for my PC that was a parental control program, with the ability to set a limit on how long each user was on at a sitting, and I limited myself to 15 minutes at a time, with a 15 ...
12
votes
2
answers
30k
views
how to time a process in bash? [duplicate]
Possible Duplicate:
Measure script execution time
How would I time how long it takes for my script foo.sh to run?
I'm looking for something akin to tic and toc in MATLAB.
3
votes
3
answers
2k
views
Can I wake up a MacBook using a timer?
I would like to learn if it is possible to wake up a MacBook (running Mac OS X 10.6) from sleep using a timer? Is there such a application for Mac OS X? I would like to wake up a computer and turn on ...
2
votes
3
answers
1k
views
Utility to take daily screenshots of a webpage
I would like to have a visual history of my Tomato bandwidth graphs, so that I can roughly/manually correlate them with some other factors. Tomato can squirrel away the actual data points, but I'd ...