timer Questions
3
I have an EJB timer schedule in a singleton EJB running inside a Wildfly 10.10:
@Singleton
@Startup
@ConcurrencyManagement(ConcurrencyManagementType.BEAN)
public class MySingletonBean {
public m...
Sinasinai asked 25/10, 2017 at 4:58
14
I'm trying to make a simple script for a game, by changing the time of day, but I want to do it in a fast motion. So this is what I'm talking about:
function disco ( hour, minute)
setTime ( 1, 0 )...
3
Solved
I have a box thats using ntp and we have several java programs running on them that display a clock. The problem we are having is if anything kicks the system time backwards all our timers that do ...
9
Solved
I have a loop that iterates until a job is up and running:
ticker := time.NewTicker(time.Second * 2)
defer ticker.Stop()
started := time.Now()
for now := range ticker.C {
job, err := client.Job(...
6
Solved
I have the following code:
class firstVC: UIViewController {
var timer : Timer?
func scheduledTimerWithTimeInterval(){
timer = Timer.scheduledTimer(timeInterval: 60, target: self,
selector: ...
1
Solved
My exercise app uses a foreground service to keep an accurate timer going when a user turns off the screen whilst exercising. There's both a countdown and indefinite count-up timer option. This wor...
Infatuated asked 9/12, 2023 at 10:30
9
Solved
5
How do I create a timer in Godot which destroys the script's object after a given amount of time? I am looking to remove bullets from a game after a while to reduce lag.
8
Solved
I'm writing a Windows service that runs a variable length activity at intervals (a database scan and update). I need this task to run frequently, but the code to handle isn't safe to run multiple t...
Opisthognathous asked 26/3, 2009 at 1:33
33
I have created and installed a service a couple of times. Initially it was working fine, but after some changes in the service Code it start giving the error when I restart the service in Services....
Aviva asked 15/6, 2014 at 9:36
3
Solved
I want to create wpf countdown timer that display the result as hh:mm:ss into textbox, I would be thankful for anyone help.
4
I'm trying to use Go's time.Timers to schedule tasks that need to be run in the right order with a precision in the order of half a millisecond. This works perfectly fine on OSX and on Linux, but f...
2
Solved
I am using TStopWatch for high-precision timekeeping in Delphi 10.2 Tokyo.
This website: https://www.thoughtco.com/accurately-measure-elapsed-time-1058453 has given the following example:
var
s...
4
Currently working on a project that requires two timers on one page. The timers need to have a start button and both have different timings (i.e. timer1 lasts 10 secs and timer2 lasts 20). Here's t...
Under asked 1/4, 2014 at 20:51
23
Solved
I want to repeatedly execute a function in Python every 60 seconds forever (just like an NSTimer in Objective C or setTimeout in JS). This code will run as a daemon and is effectively like calling ...
7
Solved
I am trying to develop a timer app in Flutter that includes multiple countdown timers for different tasks. However, I'm facing an issue where if I start a timer and then press the back button, the ...
Heartrending asked 25/12, 2019 at 16:27
8
I am working on a C# Windows Forms application where I need the method to pause for 30 seconds until it continues on to the next line of code. I have tried Thread.Sleep() which wasn't suitable for ...
4
Solved
There's applications I'd like to write where I'd like some things to occur on a schedule.
Polling a URL for updates every few minutes seems to be a fairly common use case. In this particular case, ...
Sonora asked 20/2, 2022 at 4:17
1
I want to show a hint after the user hasn't touched a screen for 30 seconds. For this restartInactivityTimer() function needs to be called whenever the screen is touched.
Is there a way to discover...
Astounding asked 30/9, 2023 at 9:42
2
Solved
I have already read some questions/threads (e.g. this and this) about how to stop the VBA Application.OnTime procedure, but I just can't get it to stop!
I am using it to pull some data every x seco...
5
Solved
We call startTimer function to start a timer. When we wanted to stop it we call stopTimerTest function but after we called stopTimer function the timerTestAction keeps firing. To check the timer co...
3
Solved
I'm new to Dart/Flutter and would like to build a simple app where a LinearProgressBar gets updated every second.
Without getting too much into the actual code, I have the following setup working....
4
I'm using CoreOS and SystemD timers to run my reports...
I have certain monitoring reports that need to run every 3 hours for the next 12 hours, running on the half hour. That's pretty simple to i...
4
Solved
Ive been looking to see a method to see if a CountDownTimer is running or not, but I cant find a way to, any help would be greatly appreciated
if (position == 0) {
mCountDown = new CountDownTime...
Darreldarrell asked 30/1, 2014 at 8:38
5
Solved
I have been trying to accomplish two main goals that I'm having a headache with. Sorry if it's a simple fix, I am a still bit new to Swift/SwiftUI.
Trigger an action after a certain time has elaps...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.