Questions tagged [periodic-processing]
22 questions
0
votes
2 answers
How to perform actions periodically in Erlang
-define(INTERVAL, 1000).
init([]) ->
Timer = erlang:send_after(?INTERVAL, self(), tick),
{ok, Timer}.
handle_info(tick, OldTimer) ->
erlang:cancel_timer(OldTimer),
io:format("Tick ~w~n", [OldTimer]),
Timer =…

Wyatt
- 1,357
- 5
- 17
- 26
0
votes
0 answers
Java stand-alone application as Scheduled tast executor with Spring
I need to create stand alone application only for processing periodical tasks.
Currently I did it by using Spring with @Scheduled tasks, but I don't like while(true) construction.
public static void main(final String[] args) {
final…

ekitru
- 172
- 1
- 5
- 16
0
votes
1 answer
Periodic to incremental (data reduction)
It's some time I was thinking about solving this problem. I have a registration of angular data (Angle(~20000,1)) variating between 0 and 355 (a potentiometer attached to a rotary testing machine), and I wanted to convert it in an incremental form,…

Aretu
- 5
- 3
0
votes
1 answer
How to calculate an average cycle data in MATLAB
I have some raw periodic data of an experiment over many cycles. In my analyzing I need only one cycle, but want to use the whole data array in order to gain accuracy. So I need to get MATLAB calculate not the absolute average (which is easy, using…

idow09
- 504
- 1
- 5
- 15
0
votes
1 answer
Calculating the time period for multiple signals in matlab
I'm currently doing a fluid simulation. The flow is calculated in discretized steps of 0.0625 s. I think the flow is periodic in all points because it is periodic in some points.
I also calculated the Fourier Transform of this. There was a minor…
0
votes
1 answer
Do a periodical commit in a large update query
I'm newbie with pl/sql and i need to do a large update in my database. More than 4 million entries must be changed and i want to execute a commit after every 5.000 update. I'm pretty lost to do this.
Here my query.
update accounts a set a.validateid…

Jorge Vega Sánchez
- 7,430
- 14
- 55
- 77
0
votes
1 answer
Multi-threading method for periodic actions
I have an application that needs to perform a lot of actions, from different modules, periodically once a second.
The actions are not related to each other.
Some actions are not so much important and can exceed the 1 sec. period by few seconds, but…

sihadas
- 11
- 3