Time depended java program

C

CSUIDL PROGRAMMEr

folks
I have 3 java files

1) Parser ( parse xml files)
2) converter ( converts xml into lucene docs)
3) Searcher ( searches lucene docs)

I want to run this three programs in sequential order after every 2
minutes on my laptop( of course when i switched it on)

Is there any way to do this??

thanks
 
P

Philipp Leitner

I would say that this is in no way a java question, but a general "how
do I run programs at a given (scheduled) time in my operation system?"
question.

In an UNIX environment you might use cron to to that... as for Windows:
AFAIK there's a "run scheduled tasks" utility (whatever it is called)
which might do what you want.

/philipp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,085
Latest member
cryptooseoagencies

Latest Threads

Top