• Post Reply Bookmark Topic Watch Topic
  • New Topic

Task Scheduler

 
Ajan Balakrishnan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a javaprogram,which should run
at 10.00 PM everyday. I strongly believe scheduling
using threads is not going to be a good choice.
FYI, the OS is Windows NT. Is there a way windows can
schedule this run by running a batch file
or something. If possible please explain me with an example
Thanks for the help in advance
 
Ajan Balakrishnan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems like i found out a way to do it. I created a .bat file
with my java runtime command inside it (for example: java Test) and scheduled this task under the windows task scheduler. It worked fine. But please note i tested it on windows 98. I'm not sure if it will work on NT.
Could any body tell me if there is any other better way of scheduling jobs in an enterprise. If there is one please let me know.
FYI, i use jdk 1.1.7 (visual Age 3.0)
Appreciate any help on this regard
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!