how to run test.jsp file in comand line interface on Linux
hi,
I am using tomcat6 server os is fedora9 i need to run test.jsp file every 20 minits i assigned the cron job */20 * * * * wget http://<my host>/containfolder/recurring.jsp but, its take long time so i need to run test.jsp file in linux command prompt, Is it possible to run JSP in linux command prompt?. If there is yes mean, plz tell how we can do that... pls suggest me.... tahnks in addvance........ |
Quote:
And if you can run it through CRON, you can run it from the command line. Have you TRIED it? |
hi tbone
i read the following link i'll explain my problem i am using fedora9 server i installed tomcat6 aplication my programers writed some code but i dont have knowledge on java i cont explain the code but i can explain the theme of code when i run the command wget http://my_ip:8080/test.jsp automatically some data will fetching in to mysql database it will create data file in target directory but it is too late and when i run this command that job is handling the tomcat server i need to run every 20 mints the number of connection was established on tomcat server and server busy that's y i try to execute in my shell pls advice me if have any possibilities in Linux |
Quote:
Again....if you can run it from CRON, you can run it from the command line. You just said you could, which was your original question. So either you want it to run automatically every 20 minutes (for which you run it through CRON), or you run it manually by typing it in. You could even put the wget statement into a shell script file, and run IT every 20 minutes, or have the shell sleep that long, before looping through. |
All times are GMT -5. The time now is 06:11 AM. |