Check out http://www.coolservlets.com/ and look for "maintenace package".  I hope
this is what you are looking for.

Mihir Parekh wrote:

> Yes ! I am looking for a generic code which can be packaged as part of
> servlet/jsp application.
>
> Mihir
>
> malcolm davis wrote:
>
> > I think Mihir was looking for generic code that would run on
> > any platform and be incorporated into the struts framework.
> > The NT scheduler (at) or Unix cron are both os specific solutions.
> >
> > Second, if wanted to call urls, you don't need perl, just use
> > the URL connection in Java.
> >
> >  >>-----Original Message-----
> >  >>From: Jim Richards [mailto:[EMAIL PROTECTED]]
> >  >>Sent: Sunday, February 25, 2001 3:44 PM
> >  >>To: [EMAIL PROTECTED]
> >  >>Subject: Re: job scheduler with struts
> >  >>
> >  >>
> >  >>
> >  >>Depending on what you want to do, you could put your code into an
> >  >>action, fix it with a URL like
> >  >>
> >  >>     http://localhost/thingy.do
> >  >>
> >  >>and then run a job that calls the page. If you're on UNIX get the Perl
> >  >>module LWP, which installs command line scripts, one called GET
> >  >>which will call a URL for you, so then your script line in cron would be
> >  >>
> >  >>     GET http://localhost/thingy.do >> /tmp/thingy.log
> >  >>
> >  >>If you're on NT, although it should work I'm not sure. There is an
> >  >>implementation of "at" for NT in the NT resource kit. Otherwise you
> >  >>might have to look at other options.
> >  >>
> >  >>Just be aware if you do't secure the page, then anyone will be able to
> >  >>call it.
> >  >>
> >  >>Mihir Parekh wrote:
> >  >>>
> >  >>> We need to implement a job scheduler (similar to unix cron job). Is
> >  >>> there a open source schedule which can be used with struts?  Any
> >  >>> pointers on implementing servlet based scheduler?
> >  >>>
> >  >>> Thanks,
> >  >>> Mihir

Reply via email to