scheduling Questions
3
Solved
I've got such situation:
I want to schedule a job with crontab on a linux server. I'm not super-user, so I'm editing (with crontab -l, editor vim) only my crontab file. For testing, I put there:
*...
Awake asked 4/3, 2015 at 13:57
4
Solved
When a process is in execution, the contents of the PCB (which is in kernel memory space?) are loaded onto the CPU registers, and status registers, kernel stack pointers, user stack pointers, etc. ...
Syst asked 26/3, 2012 at 16:52
9
Solved
I use ScheduledExecutorService to execute a method periodically.
p-code:
ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();
ScheduledFuture<?> handle =
sche...
Nasho asked 1/8, 2011 at 5:45
3
Solved
The problem I am trying to solve is a bit like the employee scheduling one here:
https://github.com/google/or-tools/blob/master/examples/python/shift_scheduling_sat.py
However, there are a few th...
Craftwork asked 16/7, 2019 at 16:47
4
Solved
For my application I create jobs and schedule them with CronTriggers. Each job has only one trigger and both the job name and the trigger names are the same. No jobs share a trigger.
Now when i cr...
Alti asked 19/12, 2009 at 18:2
9
I want a powershell script to be run once per minute in the background. No window may appear. How do I do it?
Diplomatic asked 15/1, 2010 at 12:46
4
Solved
I am trying to constantly monitor a process which is basically a Python program. If the program stops, then I have to start the program again. I am using another Python program to do so.
For examp...
Integrated asked 28/11, 2012 at 5:34
6
Solved
I have code where I schedule a task using java.util.Timer. I was looking around and saw ExecutorService can do the same. So this question here, have you used Timer and ExecutorService to schedule t...
Lifton asked 3/1, 2009 at 21:54
1
Solved
tools and im trying to use it to generate a timeTable for a highschool.
Variables are Lesson, rooms, and timeslots and the goal of course to assign all the lessons to a certain room and a timeslot ...
Bucher asked 25/2, 2021 at 13:47
2
Solved
The @Scheduled documentation here states that the fixedRateString value can be the delay in milliseconds as a String value, e.g. a placeholder or a java.time.Duration compliant value. Meaning I can...
Indigested asked 12/12, 2018 at 0:19
6
In the book Core Java : Volume 1 Fundamentals -> chapter MultiThreading .
The Author wrote as follows :
"All modern desktop and server operating systems use preemptive
scheduling. However, sm...
Collarbone asked 2/9, 2017 at 16:1
8
Solved
I have a webpage hosted on a Windows box that I need to assure gets loaded at least once/day. My current plan is to create a scheduled task that opens Internet Explorer and hits the URL:
"C:\P...
Firecure asked 31/12, 2009 at 22:33
3
clock_t Fps_start_clock, Fps_End_clock;
double Fps_result;
Fps_start_clock = clock();
int ffps = 0;
clock_t updatestartclock, updateendclock;
double updateresult;
while (1)
{
for (;;)
{
Fps_En...
Heartache asked 2/12, 2020 at 16:36
3
Solved
I want to run a task every minute on Heroku to check if conditions are met to time-out certain user tasks. I can only run a Heroku cron job every hour, so what's the best way to set up a timed task...
Ticon asked 6/9, 2011 at 6:56
2
Solved
I'm trying to debug some performance issues with pthreads on Linux and I think sched_getcpu() may be lying to me. It reports a constant CPU for each thread, whereas profiling experiments seem to su...
Isochromatic asked 29/4, 2016 at 9:33
8
Solved
I have a list of hosts in an array which represnt the servers available to do a particular job. Currently I simply iterate thru the list looking and establish comms with a host to check its not bus...
Organelle asked 11/1, 2010 at 12:17
1
With declarative task scheduling in NestJS, context is preserved in the scheduled task, so the below code works fine.
@Injectable()
export class SchedulerService {
private readonly log: Logger;
...
Debar asked 24/7, 2020 at 6:19
1
I am just getting started on real time Linux systems, and two different methods seem to be available:
Configuring the CONFIG_RT_GROUP_SCHED parameter in a "normal" Linux kernel
Applying ...
Cheka asked 16/7, 2020 at 10:39
1
I have multiple gpu cards within one machine, and I need to let the k8s allocate gpu/npus device following some rules I set.
For example, supposing there are 8 gpu cards whose id is from 0-7, and...
Vogul asked 27/5, 2020 at 15:29
4
Solved
From: http://blog.nindalf.com/how-goroutines-work/
As the goroutines are scheduled cooperatively, a goroutine that loops continuously can starve other goroutines on the same thread.
Goroutin...
Publicness asked 26/5, 2016 at 20:2
3
Solved
I am using the ScheduledThreadPoolExecutor to execute periodic tasks.
It is essential that the execution be periodic, not with fixed delay.
I encountered the following problem: consider a period ...
Lamentation asked 8/8, 2012 at 12:46
2
Solved
Can someone explain the differences between SCHED_OTHER, SCHED_FIFO and SCHED_RR?
Thanks
Commentate asked 22/2, 2012 at 9:44
1
Solved
I am trying to schedule a task in my Ktor application, however I have not been able to find anything online about how to do this. Does anyone have any recommendations or been able to do this before...
Standard asked 5/11, 2019 at 18:56
4
I have a bottle app that I eventually wan't to deploy on apache (just fyi in case that's important).
Now I need to run a function once after the bottle app is started. I can't just put it into a r...
Nga asked 21/1, 2013 at 15:27
5
Solved
I work in a very small shop (2 people), and since I started a few months back we have been relying on Windows Scheduled tasks. Finally, I've decided I've had enough grief with some of its inabiliti...
Fungi asked 18/9, 2008 at 15:13
© 2022 - 2024 — McMap. All rights reserved.