• Post Reply Bookmark Topic Watch Topic
  • New Topic

schedule a task every month at specific time  RSS feed

 
Greenhorn
Posts: 4
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I need your help!
I want to schedule a task periodically, example if I enter a date 28/4/2016 and hour is 12, minute is 26 then the program will excute a task at 12:26 28/4/2016
I try it but not works:
 
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saying "it doesn't work" is useless. Give more details. What is it doing exactly and what exactly were you expecting.

Perhaps you need to read the API documentation for the shutdown method that you're calling on line 18. I don't think it does what you think it does.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!