scheduling

Listing available users on a certain date

I'm looking at making a booking system and I need to display all the available users on a particular day/time. Thinking about it, I'm going to set up a table to keep note of when people AREN'T available, and assume that they are otherwise available. The structure I had in mind was to keep a note of the date_start of when they won't be a...

How to run .sql file from a batch file?

I am running sql server 2008 express and i need to schedule some stored procedures to run nightly...so i have built out these .sql files which i would want to run from .bat file...i need to know the command to execute these .sql files one by one and store their results i guess...can anyone help me out? ...

I'm asking for an scheduling web application based on asp.net 1.1

I see many scheduling application based on asp.net 2.0 and above. But I could'nt see any component or app for 1.1 version. In sum, I'm looking for an scheduling web application or component. Can anyone help me about that issue? ...

java executor with pre-emptable thread queue.

I'm looking for a java thread-pool, that won't run more threads simultaneously than there are cores in the system. This service is normally provided by a ThreadPoolExecutor using a BlockingQueue. However, if a new thread is scheduled to execute, I want the new thread to pre-empt one of the already running threads, and add the the pre-em...

Scheduling Procedures in sql server 2008 am i doing it the right way or there are issues?

EDIT : Problem with the email I get mailbox unavailable exception! DBEmail.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Serialization; using System.IO; using System.Xml; using System.Text; using System.Net; using System.Net.Mail; using System.Xml.Linq; public partial ...

How should I go about modeling event duration

Env: mysql How should I go about modeling the event duration for the following scenarios... Today is Monday (start of the week) One day event scheduled between 10 AM - 5 PM today. Every day event open from 10 AM - 11 AM from today till 1 week. (inclusive of weekends) Every day event open from 10 AM - 11 AM from today till 2 weeks. (e...

Is OpenReports compatible with Java 1.5?

According to the Installation Guide at http://oreports.com/docs/or-install-guide-3.0.html , OpenReports requires JDK 1.5 or higher. However, having followed the instructions up to the point of the ANT build, I'm seeing the following error returned: [javac] C:\My Documents\Reference\BI Tools\OpenReports\openreports-tomcat\openreports\sr...

Is it possible to use Windows 7 Task scheduler in own application

I'm developing add-on based application. Every add-on use scheduler. Loaded add-on schedule task. My application run only one instance. Sometimes application closed, sometimes running. Therefore i need to use Windows 7 Task scheduler How to use task scheduler on own application? I need create new task from application I need that when ...

Solution to run a .NET component on regular intervals in Windows

I need to write some .NET code that runs on a regular interval to check for "unprocessed" items in a table in the database, processes them, and then writes back to the database that they are processed. We'll probably set it up to run every minute. How can I set up in the component in a Windows Server environment so that the code execut...

Recommendations on a backend scheduling app?

We currently use SQL Server, a BPM engine, win services, and even the Windows Task Scheduler to fire off scheduled items. Most are web service invocations, but some are FTP pull downs and whatnot. I know there are good back-end scheduling apps out there that financial companies, and other process heavy industries use for things like th...

A scheduling question

I have the following situation: I have a few hundred resources at my disposal (PCs/mobiles/smart devices). I would like to make a networked lab out of these where users can request access to some or all of these devices starting at a particular time. I'm writing a scheduler for this purpose. At the requested time, I wish to inform the us...

Thread synchronization/scheduling in perl

I have a perl object with a few functions in it. Each functions is called once from the main program. I would like to run some of the functions in parallel to save time. I can't run all of them together since some functions depend on the results of previous functions. I thought of something like this: For each function keep a flag tha...

Low-priority I/O in OS X

launchd has option to run process with low priority I/O. How does it work exactly? (how low is low, does it affect all operations?) Is there an API that enables low priority I/O in applications not launched via launchd? I need to scan watched (FSEvents) directories in background application, and I'd like this to be as gentle as possibl...

Why the move from O(1) scheduler to CFS which is O(log N)?

I might be a little late on this but I was going through how various production schedulers work recently and I came across the O(1) scheduler which was replaced by the Completely Fair Scheduler, or CFS, both by Ingo Molnár. As the name suggests the O(1) scheduler takes constant time but CFS is O(log N). Then why was such a move made? Ob...

Running Code On First Run of Android App

Hi. I have a new earthquake notification android app thats in it's initial release version. I have a problem currently. My app has a service running in background, this schedules itself to run every X period. To schedule itself it needs to run atleast once. Currently that happens when you boot the phone. Obviously I do not want user to...

Expiry Notification at Intervals -- How do I avoid repeated notices for the same entry?

I am implementing a J2EE application that has an expiry-style license, and I would like to send e-mail notification to different customers as the customer's license approaches expiry. I'd like to be able to do something like notify at, for example, 90/60/30 days until expiry, but obviously I don't want to accidentally send repeated noti...

sos Job scheduler

Hi all, i am using sos job scheduler which support many language.i accept the shell script to write jobs but i am not a shell script writer.i want to implement a following points in job scheduler: execute a shell script A. script A return "success" if time is between 6:00AM and 3PM.else it return "fail". on "success" execute a shell s...

Is this optimal schedule task NPC?

I volunteered to write a program to schedule parent-teacher conferences. The principal wants parents to select 3 possible datetimes to visit their english and math teacher (at the same time). Once all the parents have selected 3 datetimes, I'm supposed to figure out the optimal way to schedule the parent-teacher conferences so the grea...

Are There Agile Processes For Agency Type Work? Scheduling Question.

I have just moved to a company where the production team is 15 strong, and consists of a mixture of back end and front end developers, testers & creatives. The team are working on multiple projects at the same time. Its agency work, so projects are fairly small, a CMS corporate website, a basic e-commerce site, that sort of thing. At th...

Is it possible to "hang" a Linux box with a SCHED_FIFO process?

Hello, I want to have a real-time process take over my computer. :) I've been playing a bit with this. I created a process which is essentially a while (1) (never blocks nor yields the processor) and used schedtool to run it with SCHED_FIFO policy (also tried chrt). However, the process was letting other processes run as well. Then som...