Sadly no cron (and sadly no .htaccess file available either)
wrap the java %java_opts% -cp %classpath% classname
in either a cmd or .bat
On a 7 year old wintel box the application is called Task Scheduler where
you want to select that cmd/bat
Be sure to set sufficient security permissions to execute as well as
read/write whatever resources you need
(no catalina.policy to reference permissions when running standalone)

One more thing-
Click on Icon/Settings/Power Management/Dont start if computer is running on
batteries!

HTH/
Martin--
----- Original Message -----
From: "David Kerber" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, October 13, 2007 11:29 AM
Subject: Re: Copying large files around


> Christopher Schultz wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > David,
> >
> > David Kerber wrote:
> >
> >> Let me give a bit more detail:  I am working on a utility function in
my
> >> webapp that will periodically copy the database file from the db server
> >> to a backup server on the LAN.
> >>
> >
> > Uh.... cron and cp, anyone? You can even use cron to initiate the
> > backup, too, instead of scripting it from your webapp.
> >
> > Why doesn't anyone use cron anymore? Sheesh...
> >
> Does Windows 2003 server have a version of cron?  I've never used it.
> And building it into my webapp lets all the configuration be done from
> the same interface..
>
> D
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to