schedule

How to schedule the execution of a PHP script on the server side?

I need a PHP script to be automatically executed at a particular time. How would I achieve this aim? ...

Scheduling Script with PHP/MySQL - Help with Logic

Hello all, I'm looking to develop a small script where users can insert their "schedule." However, I need some help determining the logic of how to create the DB structure and how to input the "time" of the events in the database. One thing to note, however, is that when users enter their "schedule", they will not be entering exact da...

Resource scheduling application

I'm trying to implement an application that coordinates multiple users who are scheduling exclusive resources. The schedule data must maintain strong consistency over a network with a single master node. The scheduled resources could be anything from a conference room to a worker on a job site. We assume the conference room cannot be sc...

Using runt to do recurring non-weekly events in ruby (bi-weekly, every 3 weeks, etc)

I need to be able to create recurring events that happen on specific days but don't necessarily happen every week. They could be scheduled bi-weekly, every 3 weeks, etc. There is a current implementation that needs an update and I'd like to use the temporal expressions stuff from runt to redo it. Runt will work for what I need except ...

java timer - how to scheduletask at a particular time in the future.

Hi Everyone, I have used java.util.Timer to schedule TimerTask to be run every 2 hours . But how do I schedule a task to run say everynight at 2 am ? This might be something easy, I am just overlooking something I guess. Thanks in Advance ...

How do you estimate an agile project up front?

When working on fixed price software development projects, I frequently find myself having to estimate the total number of hours a project will take after the price is set, but before the work is started (or VERY early on in the development). Unfortunately, these types of projects are best developed using an iterative/agile method, whic...

How do we reduce the height of the list based on the state of its item renderer...

We have a requirement to show a list of appointment slots. So every hour of a schedule has a set of 10 min slots. The requirement is that if we click on a arrow button at the 8:00, 9:00 hour slot, the layout of the hour slots should change from a vertical list to a horizontal list. For this we modeled the system as follows: ScheduleCo...

How to start process over ssh that doesn't terminate when session ends?

Is there a way to start a process using ssh that doesn't terminate when the ssh session terminates? I want the job to keep running on the computer I'm ssh-ing into without me having to keep the connection open. ...

Make a fake schedule if it doesn't exist in db

I want to pull all the rows from a database for a month and if there are any rows in the beginning or in the end that are missing then I want to create fake rows, so every day there is a schedule that one has to follow. How can I detect missing rows or how can I solve this issue? ...

Model for a Scheduling System

We have built a scheduling system to control our client's appointments. This system is similar to the one used by Prometric to schedule an exam. The main concerns are: guarantee that there is no overscheduling, support at least one hundred thousand appointments per month and allow to increase/decrease the testing center capacity easi...

schedule API call in PHP due to third party API call hourly limit

I'm using a third-party API to send messages to users. But this third-party limits 30 calls per hour. I'm using PHP on linux. What's the best way to implement this? ...

What is the best way to make a schedule in MFC

I have a list of items that are each associated with a start and end time and date. What I want to do is, given a time and date range, display only the items that fall within that window, even partially. What I'm doing is creating a CListCtrl with all the items in it and the CListCtrl is sorted by start time by default. But given a ti...

Cpu schedule, removing thread from queue

I'm implementing now CPU schedule algorithms FCFS, SJF and Round Robin. Could somebody tell when process is removed from queue (FCFS,SJF,RR)? I mean, first CPU execute thread and after executing remove from queue or the other way around? ...

Schedule multiple events with NSTimer?

I have a schedule cache stored in a pList. For the example below, I have a schedule time of April 13, 2010 2:00PM and Aril 13, 2010 2:05PM. How can I add both of these to a queue to fire on their own? item 0 -Hour --14 -Minute --00 -Month --04 -Day --13 -Year --2010 item 1 -Hour --14 -Minute --05 -Month --04 -Day --13 -Year --2010 ...

Storing dates i Train schedule MYSQL

Hi I have created a train schedule database in MYSQL. There are several thousand routes for each day. But with a few exceptions most of the routes are similar for every working day, but differ on weekends. At this time I basically update my SQL tables at midnight each day, to get the departures for the next 24 hours. This is however v...

Detect if a hudson build is manually or schedule (periodically) invoked

Ive set up deployment in hudson. SVN > Build > copy to production. I need to set up a schedule build to test for build error which is running every hour or so. What i dont want is the schedules builds to deploy to production. Is it posible to detect, in nant, if the current build is a scheduled build or a manually started build. Or shoul...

Timer Service in ejb 3.1 - schedule calling timeout problem

Hi Guys, I have created simple example with @Singleton, @Schedule and @Timeout annotations to try if they would solve my problem. The scenario is this: EJB calls 'check' function every 5 secconds, and if certain conditions are met it will create single action timer that would invoke some long running process in asynchronous fashion. (it...

How to schedule daily backup in SQL Server 2008 Web Edition

In SQL Server Management Studio I created a maintenance plan but it won't work Error is; "Message Executed as user: LITESPELL-19C34\Administrator. Microsoft (R) SQL Server Execute Package Utility Version 10.0.1600.22 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. The SQL Server Execute Package Utility requires ...

What is prepare_arch_schedule for?

I'm messing around with Linux kernel 2.4 and function schedule() in sched.c uses the macro prepare_arch_schedule, which looks really strange. What is that? Here's the relevant section #ifndef prepare_arch_schedule # define prepare_arch_schedule(prev) do { } while(0) # define finish_arch_schedule(prev) do { } while(0) # define prepar...

Converting schedule definition into English

Trying not to invent wheels :) and thus I am looking for a way to convert schedule(such as say crontab format) into readable English, much like Google Calendar has. Is there something(preferably written in PHP) that could do that? ...