3,471 questions
8
votes
1
answer
174
views
If I start two strictly CPU bound threads bound to the same CPU, and one is SCHED_IDLE, why does it ever schedule?
If I start two threads bound to CPU 0, where one is SCHED_IDLE, then why is it ever scheduled when the other thread is CPU bound at either normal priority, or at SCHED_FIFO?
For SCHED_FIFO I get it, ...
Advice
0
votes
2
replies
64
views
Does a higher priority task cause a CPU exception when it needs to run in an RTOS
This is still somewhat unclear, and I know that there are different types of RTOS out there with different settings.
Let's say that we're dealing with a preemtive scheduler in this case. When a high ...
0
votes
1
answer
45
views
Linux scheduler : what is struct sched_entity and why not store task_struct directly
In the Linux scheduler, each CPU has one struct rq, which contains sub-runqueues for each sched_class (CFS, RT, DL, idle).
For CFS, the runqueue stores a task’s sched_entity (p->se) instead of the ...
-1
votes
3
answers
183
views
Migrating from Joda-Time to java.time: How to replace time.toDateTimeToday().getMillis()? [closed]
I'm currently migrating my codebase from Joda-Time to the java.time API (Java 8+).
In one part of my application, I schedule tasks to run at a specific time either today or tomorrow, depending on ...
2
votes
0
answers
101
views
Any efficient solutions to address the dependency that 'the j-th step of the i-th task is dependent on the (j+1)-th step of the (i-1)-th task'?
I have a workload consisting of a series of tasks and each task can be divided into k steps. So far, the j-th step of the i-th task depends on the j-th step of the (i-1)-th task. This can be easily ...
1
vote
0
answers
103
views
Rescheduling a task within the handler with db-scheduler java
class TaskData {
int id;
String status;
}
class TaskDbScheduler() {
private final SchedulerClient schedulerClient;
private final OneTimeTask<TaskData> oenTimeTask;
public ...
0
votes
0
answers
248
views
Airflow 2.10.5 not respecting some parameters from the airflow.cfg
We just upgraded from version 1 to 2.10.5 I have set up in the airflow.cfg test_connection = Enabled so I can get the icon in the UI to be dark blue so we can test out connections to databases but it ...
1
vote
1
answer
144
views
Laravel 11 Crontab configuration with O2Switch server
I'm trying to set up the Laravel 11 scheduler on my O2Switch hosting.
Here's the line declared in my crontab.
* * * * * cd link_to_project && php artisan schedule:run >> /dev/null 2>&...
0
votes
1
answer
110
views
Scheduling periodic RQ tasks, using asyncio
I think that the architecture of RQ Scheduler is fundamentally flawed and it's much more complicated than it needs to be.
Schedules are stored in Redis
Even if you remove or modify your scheduling ...
0
votes
1
answer
180
views
Azure Logic App - Scheduler is delayed but needs to run on a certain time
I have a workflow which should run every day at 6am, but on several days it is delayed up to 4 hours or sometimes more.
And it is not, that the workflow is triggered at 6am and was on hold for 4 hours,...
1
vote
0
answers
117
views
How to specify DBMS_AUTO_TASK_ADMIN.ENABLE's IMMEDIATE Option?
How does one specify the IMMEDIATE option when invoking the DBMS_AUTO_TASK_ADMIN.ENABLE() subprogram?
For reference:
Oracle 19 PL/SQL Packages and Types Reference
Specifying the DEFERRED option ...
0
votes
0
answers
42
views
error bean serialize in schedul job with redissonClient and SpringBoot
I use org.redisson:redisson(3.39.0) and springboot spring.boot(3.0.0)
my redis is cluster and i create a scheduler like this :
Config config = new Config();
config.useClusterServers()....
0
votes
0
answers
18
views
Break from scheduleAtFixedRate when condition met
I have few functions with @Schedule annotation e.g
@Autowired
private ThreadPoolTaskScheduler taskScheduler;
@Scheduled(cron = "0 45 07 ? * MON,WED,SUN")
public void ...
1
vote
1
answer
89
views
Updating task scheduler entries to modify task arguments
I am attempting to iterate over many task scheduler entries to modify the task arguments. We have many servers running simultaneously launched scripts, all need to be reachable on the console if a ...
0
votes
1
answer
33
views
Avoid duplicate scheduled task executions across multiple Nginx servers in Spring Boot
I have a Spring Boot application deployed on two Nginx servers. It includes a daily scheduled task to generate reports using the @Scheduled annotation, which triggers the addDailyReports method.
The ...
0
votes
1
answer
287
views
How to Prevent Pilled Up Job Executions in GoCron if Job Takes Longer than Scheduled Interval?
I'm using the github.com/go-co-op/gocron package in my Go project to schedule tasks. The job is set to run every 2 minutes, but there's a scenario where the task might take longer than the interval (e....
2
votes
0
answers
67
views
Oracle - DBMS Scheduler to run on the second to the last workday of the month excluding weekends and US holidays
Good day,
I am trying to create a DBMS Scheduler that will run at 8:00 A.M. on the second to the last workday of the month excluding weekends and US holidays.
a) If the current date is September 1, ...
0
votes
1
answer
55
views
why my PyTorch scheduler doesn't seem to work properly?
I'm trying to train a mobileNetV3Large with a simple PyTorch Scheduler.
This is the portion of the code responsible for training:
bench_val_loss = 1000
bench_acc = 0.0
epochs = 15
optimizer = optim....
1
vote
1
answer
194
views
Interpretation of prev task within context_switch() in Linux kernel scheduler code
I'm trying to understand the implementation of context switching in the Linux kernel (specifically in x86) and to that end I have a couple of questions.
Why is the switch_to() macro defined and ...
0
votes
1
answer
118
views
Cron scheduler support in ActiveMQ Artemis
I am in the process of transitioning my ActiveMQ Classic-based project to ActiveMQ Artemis 2.19. (Target version for Artemis is preferred due to the project relying on Java 8.)
In ActiveMQ Classic, I ...
0
votes
1
answer
43
views
Action after one hour from the specified time
I have a service that records users of my telegram bot in the database. And I need to implement a mechanism by which if a user has not responded for an hour, he is recorded in the database. The user ...
1
vote
0
answers
59
views
Scheduled Job not getting executed after DST
We have Job which runs everyday at midnight at 02 AM EST. Using @Scheduled annotation with cron Expression in Spring Boot based application. The issue is, Job was running fine until daylight saving ...
0
votes
1
answer
321
views
How to access environment variables for Scheduled Colab Enterprise Notebook Run
I currently have a notebook on Colab Enterprise that accesses environment variables from a .env file to get access into a database to do ETL. When I run the notebook manually using a runtime instance, ...
0
votes
1
answer
145
views
How to regularly trigger its own endpoint?
I have an existing endpoint calling some function, and it works fine when doing a rest call to the endpoint. Then I want to create a scheduler that will call that function regularly. The scheduler ...
0
votes
0
answers
45
views
An interesting scheduling problem: how to serve multi-stage microservices chain that share resources
Recently, I encountered a scheduling problem in a distributed system and I hope to get some help: for a multi-stage microservice that has two stages calling the same instance, such as A-->B-->A, ...