Questions tagged [scheduler]

A scheduler is a software component responsible for starting tasks at a given time. Many different scheduler implementations are possible, from very low-level and short-term (an operating system CPU or I/O scheduler) to high-level and long-term (a background application launcher).

The term 'scheduler', as applied to computer programming, has quite a few different meanings:

  • Low-level scheduling of system resources, such as CPU threads or I/O requests. This type of scheduler is usually tuned to emphasize a certain performance metric, such as responsiveness or data throughput. Real-time schedulers, which provide hard response time guarantees, are a specialized class of scheduler.

  • Process scheduling, whereby the OS assigns (usually using a round-robin algorithm) time slices to applications, enabling resource sharing.

  • Application-level scheduling, often used to update user-visible information on a regular basis. This is usually done using a timer which fires an event at regular intervals.

  • Task scheduling, using a background service with an associated user interface, allowing end-users to automatically start applications at a given time, and review the execution history of each application.

Because 'scheduler' is such an overloaded term, it may be wise to also include a more specific tag which better indicates the use scenario, such as , , or

3488 questions
1
vote
1 answer

Can we schedule exe directly from TWS scheduler

For my project purposes, we need to schedule a job which invokes an C# exe file. I know that we can have a batch file to invoke the exe file and schedule it using TWS. I just want to know whether we can directly invoke an exe file from TWS
1
vote
2 answers

How operating system obtain process switching

How operating system obtain process switching. I would like speak about it more general. We are in multitasking age, I know basic concept that there is some scheduler which authoritatively point which process will now run. My question is more how…
Puchacz
  • 1,987
  • 2
  • 24
  • 38
1
vote
0 answers

How to evaluate various parameters of scheduling algorithms

I want to find various parameters like waiting time, turnaround time, throughput of various processes under different scheduling algorithms in Linux. Currently, I know how to find the current scheduling algorithm (using chrt command) and the CPU…
Rahul Patel
  • 147
  • 1
  • 2
  • 10
1
vote
3 answers

Calling a method at a specific interval rate in C++

This is really annoying me as I have done it before, about a year ago and I cannot for the life of me remember what library it was. Basically, the problem is that I want to be able to call a method a certain number of times or for a certain period…
Aetius
  • 95
  • 2
  • 5
1
vote
1 answer

How to customise Kendo Scheduler Week View?

I need to customize view of Kendo Scheduler Week View to display same as below I want to display bigger boxes of days and display all my appointment over there. can any one help me. I have also checked Kendo documentation but nothing found which…
Tejas Vaishnav
  • 466
  • 5
  • 20
1
vote
1 answer

Quartz schedulers controlled from an external app

I am currently working on Quartz.NET (version 2.3.1). I have created different Schedulers with different jobs using the code below (for each scheduler): NameValueCollection properties = new…
1
vote
0 answers

Taskeng.exe multiple process

I've created two Batch scripts that I launch via the windows 7's Task Scheduler, and I've noticed that from times to times the execution of one of these scripts freezes. When this happens I get a Taskeng.exe window, and the only way to get rid of it…
1
vote
1 answer

Guava AbstractScheduledService on server environment

What is the preferred way of shutting down an AbstractScheduledService running in server environment (e.g. Tomcat) when the application server is shutting down? Do I have to explicitly register a server listener for this, or is there a way to…
Sleeper9
  • 1,707
  • 1
  • 19
  • 26
1
vote
1 answer

Using clojure schedulers

How to evaluate a function correctly every minute using at-at and chime? Here are my tests: (require '[overtone.at-at :refer :all] '[chime :refer [chime-at]] '[clj-time.periodic :refer [periodic-seq]] '[clj-time.core :as…
leontalbot
  • 2,513
  • 1
  • 23
  • 32
1
vote
2 answers

Kernel - Scheduler : what happens when switching between process

Context: I don't really understand how the kernel saves the state of a running code when it gets to exceed its time slice. I don't visualize what happens actually. Question: 1) Where is stored the current running code (and its stack ?) ? 2) When the…
Larry
  • 1,735
  • 1
  • 18
  • 46
1
vote
1 answer

Go scheduler and CGO: Please explain this difference of behavior?

I'd like to know the implementation reason for this: package main func main() { c := make(chan struct{}) go func() { print("a") for { } }() go func() { print("b") for { } }() …
oblitum
  • 11,380
  • 6
  • 54
  • 120
1
vote
0 answers

Azure Scheduler Certification error

I'm using new Azure Scheduler service and I have this issue. I have one console application that works fine with this few code lines var credentials = new CertificateCloudCredentials(subscriptionId, certificate); var schedulerClient= new…
MetalMad
  • 416
  • 5
  • 19
1
vote
1 answer

Run R web scrape daily

I have a script written in R that pulls online and then exports it to a spreadsheet on my computer. I am attempting to create a batch file so that I can set up a scheduled task, but it only opens up the R file without actually running it. The batch…
DomSchwe
  • 55
  • 3
1
vote
2 answers

Unable to set "Run whether user is logged on or not"

I have a Powershell script to add a new schedule task. It's used to launch a PS1 file which includes some SQL querying on both local SQL box and remote SQL boxes. If this script creates the schedule, I have to make one change manually for it to…
Claude Lag
  • 113
  • 1
  • 2
  • 7
1
vote
1 answer

linux CFS schedular: if the task is scheduled based on vruntime then how task priority is used for scheduling

linux CFS schedular if the lowest run(vruntime) task is scheduled then how task priority is used for scheduling or is not used at all. Runnable task are added to rbtree with vmtime as key and lowest vmtime task wil be left most which will scheduled.…
Ramesh
  • 11
  • 1
1 2 3
99
100