we have a batch file which we run via a windows scheduled task, we don't do
it via CF.

On Wed, Oct 1, 2014 at 7:10 PM, John M Bliss <bliss.j...@gmail.com> wrote:

>
> And do you do it the way Gerald recommended...?
>
> On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels <r...@michaels.me.uk>
> wrote:
>
> >
> > we have a scheduled task setup to restart CF every morning. Since we have
> > done this we have hardly any cf issues any more.
> >
> > On Wed, Oct 1, 2014 at 3:46 PM, Gerald Guido <gerald.gu...@gmail.com>
> > wrote:
> >
> > >
> > > I don't know if this is the "best way" but you can put the following
> text
> > > in a .bat file and run it using cfexecute.
> > >
> > > net stop "ColdFusion 10 Application Server"
> > > net start "ColdFusion 10 Application Server"
> > >
> > > <cfexecute name = "C:\somefolder\yourbatfile.bat">
> > > </cfexecute>
> > >
> > > HTH
> > > G!
> > >
> > > *Gerald Anthony Guido*
> > > Nullius in verba <http://en.wikipedia.org/wiki/Nullius_in_verba>
> > > -- Horace
> > >
> > > learn.geraldguido.com
> > > Twitter <https://twitter.com/CozmoTrouble>
> > > Facebook <https://www.facebook.com/gerald.guido.9>
> > >
> > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss <bliss.j...@gmail.com>
> > wrote:
> > >
> > > >
> > > > Hi. What's the current best way to use CFML to restart ACF 10 app
> > server
> > > > service (on Windows server)?
> > > >
> > > > --
> > > > John Bliss - http://www.linkedin.com/in/jbliss
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to