• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Task Scheduler

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic