473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

scheduler

I want to write a task scheduler. But i cant make the logic between
the scheduler and tasks.
For example a have an external process which can add and delete tasks
from scheduler.
Every task has an id and number(Task1,Task2...). It will delete tasks
by looking at their IDs.
Scheduler complete the tasks and sets a flag=0, then ext process
starts again.
How can i store id,number,add/delete function and pass them t the
scheduler?

Feb 7 '07 #1
2 2232
yamca wrote:
I want to write a task scheduler. But i cant make the logic between
the scheduler and tasks.
For example a have an external process which can add and delete tasks
from scheduler.
Every task has an id and number(Task1,Task2...). It will delete tasks
by looking at their IDs.
Scheduler complete the tasks and sets a flag=0, then ext process
starts again.
How can i store id,number,add/delete function and pass them t the
scheduler?
Methinks you're in a wrong newsgroup. If you haven't figured out the
design yet (the interface) (and it seems like you haven't, otherwise
you'd probably have posted it in some kind of pseudo-code), then you
need help from comp.object. If you have figured out the design, then
please post it, in some non-working C++ notation, for example, and
only then ask your C++ language question. Otherwise it looks pretty
much like you don't have a C++ language question.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 7 '07 #2
In article <11*********************@p10g2000cwp.googlegroups. com>,
ss******@gmail.com says...
I want to write a task scheduler. But i cant make the logic between
the scheduler and tasks.
For example a have an external process which can add and delete tasks
from scheduler.
Every task has an id and number(Task1,Task2...). It will delete tasks
by looking at their IDs.
Scheduler complete the tasks and sets a flag=0, then ext process
starts again.
How can i store id,number,add/delete function and pass them t the
scheduler?
It looks like everything you're asking about right now is related to
inter-process communication, which isn't standardized in C++. A
newsgroup devoted to your target OS will probably be helpful in this
regard.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Feb 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: keepyourstupidspam | last post by:
Anyone know of a reliable design for a Windows C++ Task Scheduler Class. The scheduler will expose a member function that will add schedules, its parameters will be an interval to run the tasks...
1
by: Mike Thomas | last post by:
I want to start this thread again - on my first attempt I was a little ambiguous and was not able to get the answer I need. I am trying to start Access 2000 on Windows NT 2000 Server by using the...
1
by: Neil Ginsberg | last post by:
I am having trouble using Windows Scheduler with an A2K database that has a password. The password is a db password, not a user-level security password. I have a routine I am looking for Scheduler...
4
by: LongBow | last post by:
Hello all, I have been working on my first embedded project which has been exciting and stressfull at the same time. My task now is to develop a good scheduler for transmitting ARINC labels....
7
by: Shane Story | last post by:
Have an app and would like to allow easy addition of MYAPP.EXE /F /P (for example) my prog with command line args, as a job to be run. Would like to make it easier on the user to run the app. ...
8
by: VMI | last post by:
I'm searching for a way to build a scheduler that will store its data in sql server. I've searched google but it mostly displays sites that sell scheduler controls. Anyone know of any sites that...
3
by: mayur_hirpara | last post by:
Hi, I am writing a VB.NET application. It is a Windows application at the moment. The application contains a button. the click event of button perform a long running task. It needs to be started...
4
by: Sid Price | last post by:
Is there a .NET (2003) class available somewhere that might provide a comprehensive task scheduler with a better granularity than the one minute of the built-in scheduler on XP? Even down to 15...
1
by: =?Utf-8?B?YXVzdGlyb2I=?= | last post by:
Hi, While I realise that this may not be a very nice solution architecturally, I kick off a Scheduler in an ASP.NET 2.0 webservice in Application_Start() which is supposed to call a stored proc...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.