RE: Job scheduler

"Mike Watson" <[email protected]>
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
What is the database for?The names of the processing jobs, the shared
computers? Do the names change?
Are you looking for a database schema, or how to actually install and
configure a database?
How many threads (processes) do you want to run concurrently?
You can just use C++ to run the commands necessary to start each process.
You will have to do some sort of thread management if you want all 20 PCs
working all the time.
Put the processes waiting to be executed in a queue. Have a thread manager
allocate a thread to a process when a thread becomes free. You will need
some error handling logic.
Can the processes run independent or is there a danger of deadlock?

There are many ways to do what you want. My expertise is more in Java. Some
more experienced C++ programmers may have better answers.

Something for you to think about anyway…

-m

-----Original Message-----
From: neyinagho [mailto:[email protected]]
Sent: Wednesday, July 21, 2004 2:27 PM
To: [email protected]
Subject: [cppug] Job scheduler


I'm new to programming and would like to write a very simple or basic
C++ program to do job schedulling. The program would be capable of
allocating processing jobs ( lets say 100 processing jobs ) to a
small no of shared computers or resources ( say 20 PCs ), based how
fast the computers complete a given task.

How do i structure the database for this program? I really don't have
a clue.

Alternatively, can someone suggest an open source code that i can
study and adapt to carry out this task?

Plz i need your help.







Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129p2oiih/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705006788:HM/EXP=1090532303/A=2128215/R=0/SIG=10se96mf6/*http://comp
anion.yahoo.com>


  _____

Yahoo! Groups Links
*         To visit your group on the web, go to:
http://groups.yahoo.com/group/cppug/

*         To unsubscribe from this group, send an email to:
[email protected]
<mailto:[email protected]?subject=Unsubscribe>

*         Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.