• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To run a JSP in a fixed interval

 
Swosti Dipan Pal
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a JSP file. I need to schedule this file to run in a fxed interval. e.g at the first day of each month. Please advise

Cheers,
-Biswa
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to post your questions in the appropriate forum. This forum is for questions on advanced java. We have a forum for JSP questions that this post has been moved to.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That makes little sense on the surface.

Where is it to run from? A browser? The command line?

Where will the response be shown?
 
Swosti Dipan Pal
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a process which will read files from one location and place it in a particular location periodically.

Cheers,
-Biswa
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That doesn't answer any of my questions.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP are executed by a servlet container in response to a HTTP request.

You can generate a HTTP request from an independent Java (or other language) program and do what you like with the response. This requires NO special JSP programming.

Does that sound like what you want?

Bill
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP file. I need to schedule this file to run in a fxed interval. e.g at the first day of each month. Please advise

Why do you want to do this as a JSP? Shouldn't a standalone java class be sufficient for your requirements?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic