I wonder if there is a common mechanism implemented in operating systems to minimize TLB flushes, by for instance grouping threads in the same process together in a "to be scheduled" list.
I think this is an important factor when deciding between using processes against threads. If OS doesn't care whether the next thread is in the same ...
I'm using python to interface a hardware usb sniffer device with the python API provided by the vendor and I'm trying to read (usb packets) from the device in a separate thread in an infinite loop (which works fine). The problem is that my main loop does not seem to ever get scheduled again (my read loop gets all the attention).
The cod...
We have a problem with the scheduling of our timer jobs. The jobs we have developed run only one time after that they delete themselves. To schedule the jobs we filter the web application's SPJobDefinitionCollection for our timer job type and look for the one with the latest schedule time via the NextOccurrence() method of the job's Sche...
I have a requirement that goes as follows (trust me, I'm way too old for homework grin)
I have a bunch of tasks that run with various frequencies. They also have a start "seed" date/time . The start seed is sometime in the past, could be one minute ago, could be 5 years ago.
I need to calculate the next run time for the task, using th...
I'm not an expert, just a beginner. So I kindly ask that you write some code for me.
If I have two classes, CLASS A and CLASS B, and inside CLASS B there is a function called funb(). I want to call this function from CLASS A every ten minutes.
You have already given me some ideas, however I didn't quite understand.
Can you post some e...
I have a situation where I need to allocate people to several events. If we just had a price as a factor, it would be fine, but there is a number of factors that come in.
First, some background. This is for a non-profit organization that promotes story hours for children that are hospitalized for any reason, so they depend on voluntary ...
In 1994, someone wrote a scheduling package for NASA utilizing a scheduling package of software that defined forests and trees. I have the complete source of the package except for the one library. No where in the include files is there any indication of who wrote it, but I have reason to believe that it was Manugistics. Can anybody p...
I am working on a web application where I need to schedule some code. I am using the quartz for that. Now the problem is I want it to work after every day, or say 24 hours. Please let me know how to do this. I have not done this before and I'm using the sample code from the scheduler API.
...
I'd like advice regarding scheduling execution within a Java web application. (currently running on Tomcat, but I'd like to avoid anything tomcat-specific).
I think the following defines the aspect of my problem I'm interested in.
Consider an application that polls a set of files for updates periodically. I'd like to provide a user int...
I am developing a website using VS 2008 (C#). My current mission is to develop a module that should perform the following tasks:
Every 15 minutes a process need to communicate with the database to find out whether a new user is added to the "User" table in the database through registration
If it finds an new entry, it should add that...
I'm porting an application from Java to C# and I'm facing a problem connected to the different behaviors and features between the java.util.Timer and System.Threading.Timer.
In fact, in the Java version of the Timer class there's a feature (used in the original code) for scheduling tasks, that is not present in the .NET version, where it...
I'm writing a windows service that needs to execute a task (that connects to a central server) every 30 days +- 5 days (it needs to be random). The service will be running on 2000+ client machines, so the randomness is meant to level them out so the server does not get overloaded.
What would be the best way to do this? Currently, I pick...
Hi,
I have imported the package org.spring.schedule.timer2.5.6A. using eclipse and created the following beans. but my problem is i, dont see / cant set any property values for the bean methodInvokingTASK (last one), where I should have.
property - targetObject
property - targetMethod
I dont know what is wrong, am I missing any impor...
I've been reading a paper on real-time systems using the Linux OS, and the term "scheduling jitter" is used repeatedly without definition.
What is scheduling jitter? What does it mean?
...
Know that either java-version or python-version it doesn't support threading or processes. So if I want to execute a small snippet periodically in GAE, is there any possibility?
Oh, I'm just finding there is a document mentioned about it:
http://code.google.com/appengine/docs/java/config/cron.html
...
I am writing a C# program to handle scheduling. Now each employee needs the ability have limitations on their schedule for ex:
Sally can only work Monday, Wednesday, Friday from 9am-3pm
Billy can only work Tuesday, Thursday, Sunday from 5pm-9pm
Sally can only work Monday, Wednesday, Friday from 9am-3pm
until so and so date and then s...
Once a week we have an half hour session where we talk about a few features in our application or explain a customer question to our employees(sales, support, technical services and development). This session is to teach our employees the application we sell and to help them improve the service to our customers. Once every two weeks this...
I am looking for a solution, or a set of solutions with the following components:
Job Scheduler - run a specific job on a specific schedule. I have seen Quartz.NET and it seems like a good framework, however I have not found it to have integrations with the components that follow.
Job Runner - run a job, loaded as an AppDomain, from a ...
So here's my problem, I need to do a c# service running on a server who's getting file on ftp one time per day at 3am. I think that I can do it with a thread.sleep() or by compare the DateTime.Now with 3am....
Do you have better solution?
Thank you very much for your help!
...
In your opinion, should the documents listing what further needs to be done on the application development separate from the developer documentation describing design decisions and algorithms? It would be great to also explain the reason for the opinion on why it's clearer to do or not do so. Thanks in advance for the comments.
...