Questions tagged [periodic-processing]
22 questions
64
votes
4 answers
Run a Jenkins job every one minute using H/1 * * * *
How can I run a job created in Jenkins every one minute ? Am I missing anything?
PS: I'm trying not to use: */1 * * * *

AKS
- 16,482
- 43
- 166
- 258
7
votes
1 answer
How to run a Haskell program endlessly using only Haskell?
I have small program that need to be executed every 5 minutes.
For now, I have shell script that perform that task, but I want to provide for user ability to run it without additional scripts via key in CLI.
What is the best way to achieve this?

Filip van Hoft
- 301
- 1
- 7
3
votes
1 answer
How to pass parameters to callback method using RegisterWaitForSingleObject?
I'm using a RegisterWaitForSingleObject call in it's basic usage form to call a method upon the timeout value provided and all is working well. However there is a particular scerio I'm using this where the code to call RegisterWaitForSingleObject…

atconway
- 20,624
- 30
- 159
- 229
2
votes
2 answers
C# Design pattern for periodic execution of multiple Threads
I have a below requirement in my C# Windows Service.
At the starting of Service, it fetches a collection of data from db
and keeps it in memory.
Have a business logic to be executed periodically from 3 different threads.
Each thread will execute…

srajeshnkl
- 883
- 3
- 16
- 49
2
votes
1 answer
CodeIgniter - Hourly method call
I'm using CodeIgniter for my project. I have this roadblock in from of me..
There's this method in my controller that I want to call every hour. Let's have that as:
class Notifs extends CI_Controller {
public function __construct() {
…

Kevin Lloyd Bernal
- 355
- 3
- 8
- 24
2
votes
1 answer
Issue with ballooning threads in periodic processing
I want to do some periodic work on a worker thread which signals when the work is completed. When signaled, I want to wait for 5 seconds and re-do the work. I wrote the following code:
public class WinService : ServiceBase
{
private readonly…

Sajal
- 21
- 2
1
vote
1 answer
Superset Period-over-Period Charts
Is it possible to create Period-over-period charts in Superset so I can see data for a specified date range compared with data for the same range for another period (year on year, week on week, month on month...)? For example, you might have a…

Maki
- 471
- 2
- 8
- 17
1
vote
2 answers
Sync Timer Callback in C#
I would like to create a function that is called periodically (1 second), the function may take more than 1 second. If the function does not complete, a new thread should not be created. If it completes, it should wait till due time. Which timer…

Ismail Hakan Uluyol
- 11
- 1
1
vote
1 answer
Cross platform C++ High Precision Event Timer implementation
Coming from the Windows platform I usually used the Windows Multimedia Timer to produce periodic callbacks with a resolution of 1 ms +-1ms. So I could indeed produce 1000 quite equidistant callbacks per second.
To achieve this accuracy without doing…

Jack Sabbath
- 1,398
- 2
- 9
- 12
0
votes
0 answers
In my .net C# Windows service app I want to execute a function periodicaly. I am not sure how to wait/sleep the program in a precious way?
I have to execute a function periodically for a specific time in my windows service app. The function is reading out a current value from a remote CNC machine. The function will be executed every 35 ms for 30 seconds. Normally the data reading takes…

Dargento
- 31
- 3
0
votes
1 answer
How do I get the return-value of the callback in a periodic callback?
On a bokeh server, I use doc.add_periodic_callback(callback_fn, 1000). This returns the periodic callback ID and nothing else. Is it possible to access the value returned by callback_fn too?

user242318
- 25
- 1
- 5
0
votes
2 answers
Is WorkManager the right solution for me?
I have following requirement in my app.
1. I select some files & click Upload button. On clicking Upload button, the app exits. (I am enqueueing the request & finishing the activity).
2. Once the app exits, these files need to get synced to…

AndroidGuy
- 1,270
- 4
- 15
- 32
0
votes
1 answer
Call an expensive function periodically inside a loop
I call a computationally expensive function inside a loop:
for( int j = 0; j < Max; ++j ) {
// ...
processQueuedEvents(); // Computationally expensive call
// ...
}
However, I don't need to run the expensive function on every single…

Megidd
- 7,089
- 6
- 65
- 142
0
votes
0 answers
Determine instantaneous phase from two shifted periodic signals with unknown offset
I have two periodic noisy signals which depend on a constantly increasing reference angle. The two signals are shifted by 90 degrees and one of them has an unknown varying offset. Two sample signals like this can be generated using a simple python…

Nickj
- 982
- 3
- 8
- 17
0
votes
0 answers
How to estimate the probability of the periodicity of a time series signal
I am trying to formulate a function to estimate the probability of a given 1-D vector which is a periodic signal.
For instance, a sine or a cosine wave could result in a probability of 1; a white noise signal should result in a probability close…

user3030046
- 279
- 1
- 4
- 8