In case this wasn't verbose enough, Emmanuel is assuming you already have
a web server setup that can execute jsp (like jakarta-tomcat say). He is
suggesting you create a crontab entry that asks your web server to run
this page. This can be accomplished with something like
wget http://localhost/mailjsp
as the program to execute in your cron statement.
If the the jsp page is very thin, and most of the code is in some java
class, you might be better off creating a class with a main, and launch
the java directly (without involving the web server, since this could be a
security problem)
hth
charles
On Tue, 3 Apr 2001, Emmanuel Seyman wrote:
> On Tue, Apr 03, 2001 at 01:33:20PM +0400, waheed_rahuman a ecrit:
> > This is waheed, i am a newbie to linux.
> >
> > I am in a need to run a JSP file at particular time everyday
> > how i can do this..
> > For example email.jsp to be run everyday at specific time 12.00 am .
>
> You can add it to the crontab by editing /etc/crontab .
> Read the crontab man page.
>
> Emmanuel Seyman
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list