scheduling

What does an empty run queue entry points to?

I'm trying to figure out the technicalities of scheduling in Linux. What I can't figure out is what happens with those entries in the run_queue where there are no running processes. In the run_queue we have a bitmap, a counter, and the array of lists themselves. For a list that is empty because there are no running tasks with its priori...

Does ASP.NET Make Request Scheduling Decisions Based Upon SessionID?

I know that a properly implemented SessionStateStoreProvider maintains an exclusive lock on session data for the duration of a request. However, considering that multiple requests could arrive simultaneously (e.g. via IFRAMEs) all but one would be able to make forward progress. All the other requests would block for a bit and reduce the ...

Good event calendaring / scheduling design guide?

Hello, In an application I'm designing, the user has to be able to specify rather complex event scheduling (continuous time-block vs. daily time-blocks, exception date/times, recurrence patterns etc.) Does anyone know of a good design page for such a thing online? For example, I was highly impressed with this page's description of how...

Why is setscheduler not forcing need resched

I noticed that in Linux kernel 2.4 setscheduler doesn't force need_resched. Why is that? is it just some convention, or does that happens somewhere else? ...

Best Fit Scheduling Algorithm

I'm writing a scheduling program with a difficult programming problem. There are several events, each with multiple meeting times. I need to find an arrangement of meeting times such that each schedule contains any given event exactly once, using one of each event's multiple meeting times. Obviously I could use brute force, but that's r...

Job Shop Scheduling: Shifting Bottleneck

Hello I'm currently looking into quick graph because I need to implement Job Shop Scheduling. I have been researching and found the shifting bottleneck algorithm very promising. As I'm not really proficient in math and search algorithm I wanted to ask you guys if shifting bottleneck would fit into my problem domain and how this could be...

Schedule and Execute a php script automatically

Hello! I have written a php script which generates an sql file containing all tables in my database. What i want to do is execute this script daily or every n days. I have read about cron but i am actually using Windows. How can i automate the execution of the script on the server? Thanks! ...

How have you implemented SCRUM for working alone?

I am working alone at the beginning of a sizable open source project and would like to leverage some of the core ideas/methods from Scrum to help manage my time and remain focused on development and deploying early, demonstrable functionality. I would like to hear from others who have used Scrum alone and what you have found particularl...

SQL Server Job with precise timing

Hi, I have a DB with game data (map, players, etc...) and I have a game core mechanics written in T-SQL stored procedure. I need process game loop (via the stored procedure) every "X" seconds. I tried used the SQL Job, but when I set the interval to seconds, the SQL server stops responding. If I set the interval greater than one minut...

Looking For a .NET Task Scheduling library

I'm looking for the following features: Scheduler uses SQL Server as the backing store Tasks can be scheduled by one application and executed by another I can have multiple applications, each of which handles a specific subset of tasks Tasks can be triggered at specific times, now, or based on the success or failure of other tasks Data...

How is pthread_join implemented?

I'm a little new to threading, so you'll have to forgive the naiveté of this question. How is pthread_join implemented and how does it effect thread scheduling? I always pictured pthread_join implemented with a while loop, simply causing the calling thread to yield until the target thread completes. Like this (very approximate pseudoc...

How to schedule IIS SEO toolkit to run daily

I have installed Microsoft SEO Toolkit in IIS. http://www.iis.net/download/seotoolkit I want to be able to schedule it to run daily and generate a report. Does anybody know how to do this ? ...

Wait on multiple condition variables on Linux without unnecessary sleeps?

I'm writing a latency sensitive app that in effect wants to wait on multiple condition variables at once. I've read before of several ways to get this functionality on Linux (apparently this is builtin on Windows), but none of them seem suitable for my app. The methods I know of are: Have one thread wait on each of the condition variab...

Can I prevent a Linux user space pthread yielding in critical code?

I am working on an user space app for an embedded Linux project using the 2.6.24.3 kernel. My app passes data between two file nodes by creating 2 pthreads that each sleep until a asynchronous IO operation completes at which point it wakes and runs a completion handler. The completion handlers need to keep track of how many transfers ...

Stored procedure in scheduler in SQL Server 2005

Hi All, I am using SQL Server 2005. I have a stored procedure [say Sp_GetAllMaterialInfo], I want to put it in a scheduler that everyday this stored procedure execute on 2 P.M. daily. Please let me know the steps I have to follow to achieve in SQL Server 2005 Thanks in advance. ...

Viewpoint gem and Exchange resource account

Hi- I'm trying my hand at using the Viewpoint gem (by zenchild @ github) as the base for a meeting scheduling system. It's great at reading calendar information from regular Exchange 2007 accounts, but I got stuck trying to change the SOAP request header to allow me to read resource accounts as a delegate. I came across http://blogs.m...

I Need a scheduler in java that shares a threadpool with other schedulers

I have stacked for weeks trying to find a solution on this. Im coming back over and over again to the same. Java 's ScheduledThreadPoolExecutor alternatives... but nothing does this. What I want is to execute jobs syncrhonized/serially inside a scheduler, having lot of schedulers doing that independentely from each other, backed by one ...

Time tracking solution for Windows / Eclipse PHP

Hi everybody, After seeing this movie and the introduction to Lapsus (http://synapticmishap.co.uk/synapticmishap/lapsuspromo/) I really felt that I had missed this feature in my own daily work. Are there any time tracking solution for windows that can monitor a set folder and its changes to the content files that may or may not integra...

Development schedule for web applications?

Hi everybody, I am looking for some kind of solution to take care of development scheduling for web applications. How does the big guys in the industry handle this? Is it all about SVN and bug trackers for them? ...

Built in background-scheduling system in .NET?

I ask though I doubt there is any such system. Basically I need to schedule tasks to execute at some point in the future (usually no more than a few seconds or possibly minutes from now), and have some way of cancelling that request unless too late. Ie. code that would look like this: var x = Scheduler.Schedule(() => SomethingSomethin...