Hi Everyone,
Tried doing a bit of research on the following with no luck. Thought I'd ask here in case someone has come across it before.
I help a volunteer-run radio station with their technology needs. One of the main things that have come up is they would like to schedule their advertising programmatically.
There are a lot of nea...
Hi all!
For some part of my project I need a process-local scheduling system that will allow me to delay method execution on few seconds. I have thousands of “clients” of this system, so using threading.Timer for each delay is a bad idea because I will quickly reach OS thread limit. I've implemented a system that use only one thread for...
MySQL supports events where i can set up something to happen in a specified time period
Eg: Update the salary's every month
Eg: Update something every year
Eg: Change the status of a book to "overdue" in a week
Etc etc etc
How do I do this in Oracle?
...
Looking through the scheduler source code (2.6.34, kernel/sched.c), I can see how the "pluggable" schedulers are used, and I believe I understand the interface to be implemented. What I don't understand yet is how to get my code built into the kernel. At the very least, pointers to other sites would be appreciated.
Right now, I'm grep...
Hi,
How to create a a maintenance plan for a full backup that run the first 10 days of the month in SQL 2008?
THANKS!
...
Hi,
I have a custom Rake file, which I want to run periodically(every day). I am using a Windows machine, and have a .bat file, which basically does
cd path/to/applicaion
rake filename
I am using the windows scheduler to run the bat file but it aborts, complaining that some gems are missing. However, when I start up a command promp...
I have been doing some research on priority scheduling algorithms, and although I find Priority Aging to be a very basic (and seemingly sound) strategy, I can barely find information about it. Could someone please let me know the issues and advantages of implementing an algorithm? Thanks!
...
I want to run my java program in regular interval , lets say, in every 3 hours. I am thinking to write a .bat file and put command to call java class. But what is the best way to run .bat regularly in windows xp. Thanks in advance. I dont want to use third party tool.
...
I have a daemon thread which wakes up at a specified interval to do some task. Now I need to add two more tasks to the thread & these tasks have their own intervals. Something like
After every x seconds do Task1
After every y seconds do Task2
After every z seconds do Task3
So I basically need to come up with a sleep logic to ensure t...
Hello,
The goal is to run in a separate thread function downloads data from the main form.
To do this, use GIOScheduler.
I have function for loading data:
void load(GInputStream* input_stream, GCancellable* cancellable)
{
...
}
The function load works 100%. Then there is the function you want to send in a separate thread:
v...
Hello,
I need to run function in another thread then main form:
I have a job_func:
void job_func(GIOSchedulerJob *job, GCancellable *cancellable, gpointer user_data)
{
MainWin* mw = (MainWin*)user_data;
while( g_cancellable_is_cancelled(mw->generator_cancellable) == FALSE)
{
loading (NULL, mw);
}
}
Then load...
Hey there,
I'm building an online calendar in Ruby on Rails that needs to send out email notifications whenever a user-created event is about to start/finish (i.e you get a reminder when a meeting is 5 minutes away). What's the best way of figuring out when an event is about to start? Would there be a cron task that checks through all ev...
We have a sports training camp which is regularly attended by various teams in the city. We have a session per day spanning 2 hrs(9-11 AM) and the time slots could vary for different teams. We would like to capture who attended the training camp on a daily basis.
We arrived at the following model to capture attendance.
(id, user_id, dat...
We need to automate booking of technicians through SharePoint. We have different number of technicians available each day. The users can look at the calendar to see availability, after they select a time when a technician is available they are presented with form asking for some details. Submit a form books a technician and sends an emai...
I need to manage a pool of threads having different priorities, so I wrote the following thread startup procedure:
static
int startup(thrd_t *thrd, thrd_sync_t *sync, int prio)
{
pthread_attr_t attr;
int err;
struct sched_param param = {
.sched_priority = prio
};
assert(pthread_attr_init(&attr) == 0);
as...
How do i store routine or schedule in Database in efficient way.Such as i have 20 rooms and in this rooms 8-10,10-12,... this way classes are held.How do i store this sort of schedule in database in efficient way?
...
i am looking for some .net based library/piece of code to implement task/activity scheduling like microsoft project scheduling in following cases...
Finish to Start
Finish to Finish
Start to Finish
Start to Start
please refer to understand in which context i am talking about...
About linking tasks @ http://office.microsoft.com/en-us...
I'm aware of this question here but I have a slightly different question. If I wish to hand-code via the various Thread methods myself (not via utility classes or Quartz) the running of a Thread at a particular time, then what would be the most efficient (in terms of overhead) to code this.
I considered:
boolean wasInterrupted = fa...
I'm looking for some guidance on the overall architecture of this little system I'm building.
Currently, I have an app that is deployed (and updated) via xcopy to a few servers. This works well for updating the code, but it does not work well for updating the period of the code's execution, since it is setup as a windows scheduled task ...
Hi everyone!
I'm trying to get a scheduler working in JBoss as 5.
So far, I've created my own MBean (it works) and I created my scheduler like this:
<mbean code="org.jboss.varia.scheduler.Scheduler"
name=":service=Scheduler,name=SchedulableMBeanExample">
<depends>user:service=Print</depends>
<attribute name="StartAtStart...