Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
running jsp in cron
Name: vikont Date: January 27, 2005 at 10:43:03 Pacific OS: Win2000 CPU/Ram: na
Comment:
I have a .jsp file that does some work. I need it to run every night at, let's say 11pm. How can i put it in cron? All it needs to do is to hit that jsp file. let's say the path is http://domain.com/building/floor/room.jsp How can i have cron hit this URL every night?
Name: Guy Date: January 27, 2005 at 18:13:18 Pacific
Reply:
Win2K and cron, huh?
I don't really know what platform this needs to run on, so ...
-Put the job in your crontab -The job executes a script/program that does the HTTP connect, etc ...
The script/program that does the connect should be in a language available on Win or Unix. Candidates are many: Java, Ruby, Perl, Python, PHP, and I am sure there are many others .......
Guy
0
Response Number 2
Name: vikont Date: January 31, 2005 at 10:46:58 Pacific
Reply:
No, i'm not trying to run it on Win machine. It will be running on Unix sever. So i just need to know if it's possible not writing the script but simply call the java class file in cron so that it will execute it. Something like this: 00 23 * * * /usr/j2se/bin/java -classpath /abc/webserver/https-myserver/../../RunCreateRandomFiles.class
Summary: hello all freinds... i need to know the ports opened and processes running in remote pc in vc++(mfc) i am connected to taht remote pc...now can any one help me how can i know baout the running process...
Summary: Hello, iam developing an interface in JSP. in Jsp page I need a treeview structure in addition with some html components like list etc. tree contains dynamic content accessed from database hence i can...
Summary: Hi, im a novice in JSP/JDBC. I need to connect to access database. i installed tomcat server on my pc. and i can able to run jsp files. i have a access file on the same m/c. ok now i need to connect t...