• Post Reply Bookmark Topic Watch Topic
  • New Topic

call by system  RSS feed

 
Dennis Liu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can I write a simple java application(class) which will be started by system based on the time I set inside the application?
Thanks
 
Vladas Razas
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
this doesn't really have to do anything with Java... unless you want to write application A which will be running always and checking time to start application B (which is the one you want).
Otherwise you can use services, daemons and schedulers of your operating system. If you use windows you can use scheduler to say execute "java MySweetApplication" at any time you want.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!