Questions tagged [scheduled-tasks]

A Scheduled Task is a task that is scheduled to execute at a certain time (as the name is self-explanatory).

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
250 views

Scheduler built with observables v2 (follow-up)

It would probably be too easy if the old Scheduler worked as intended being that simple. But an eye-openig review showed that from time to time it'll miss one ...
t3chb0t's user avatar
  • 44.3k
4 votes
0 answers
120 views

Scheduler built with observables v3 (follow-up) - now testable

This is a 2nd follow-up to my previous one about a Scheduler built with observables. Although the last one was working correctly, it was only possible to see this ...
t3chb0t's user avatar
  • 44.3k
4 votes
0 answers
476 views

A task scheduler with persistence

I wrote a task scheduler package with data persistence in Go. However, the logic seems super messy... even it seems passed all tests. Is there any better way to structure the code and finish few ...
Changkun's user avatar
  • 141
3 votes
0 answers
53 views

n executions of a periodic goroutine

I'm new to Go and have a use-case for periodically executing an async work-function. I want the interval between work-function executions to be constant (not the time between one finishing and the ...
geofflittle's user avatar
2 votes
0 answers
59 views

Task scheduling

A simple design for task scheduling using the following classes/interfaces. ...
pikausp's user avatar
  • 219
2 votes
0 answers
62 views

Write one string to a socket within 10 seconds or another string if the time is out

I have implemented a method which will send one data to the server if it (Raspberry Pi Pin Input HIGH, in this case) occurs within 10 seconds. If this doesn't happen within 10 seconds then I should ...
Khojiakbar's user avatar
2 votes
0 answers
730 views

Generic polling class and using it to poll SqlConnection

I have the following poller class that can be used to "poll the required action": ...
MoonKnight's user avatar
2 votes
0 answers
255 views

Automatic resource allocation for the purpose of resource-dependent task scheduling

Here is what I'm trying to accomplish: Suppose you are trying to control an embedded system with several external hardware resources/components/devices. Naturally, you are concerned with the issue of ...
Julian's user avatar
  • 131
2 votes
0 answers
90 views

PHP cron job for updating broadcast status

I am currently working on a re-occurring broadcast schedule. The whole idea is to setup a cron/task job that will update the broadcast flag "isLive" in a database table. Are there other options to ...
Ben Isaac's user avatar
1 vote
0 answers
9k views

Very simple task scheduler (Task based, not Timer based)

My app has several periodic tasks. So I created this very simple generic task scheduler (got sick of copy-pasting code, which is based on Timers). It is very very basic and simple, can you find ...
jitbit's user avatar
  • 111
0 votes
0 answers
47 views

FreeRtos , the higher priority task reacts the same as the lower priority ones

The code creates 4 timers that control 4 semaphores with which the tasks will work when they take the semaphore. There are 3 sender tasks and 1 receiver, the sender sends to the queue that was created ...
Abdelrahman sobhy's user avatar