I have a
JSP page which does a bunch of DB updates, and I tried setting up a Crontab to access this page on a daily basis, so the DB gets updated daily.
I receive a bunch of errors... and I'm assuming that I'm not able to run a Crontab on a JSP file, but only a
Servlet (as there is no HTTP session for the JSP)
Is this assumption correct ?
If so, what are the alternatives. I could assume that I could either:
1) Do a WGET in my cron to access the JSP page.
2) Implement the DB update in a Servlet.
Any ideas / input would be greatly appreciated