I came to the same conclusion. Thanks. On Wed, Oct 8, 2014 at 9:46 PM, Al Musella, DPM <muse...@virtualtrials.com> wrote:
> > It doesn't make sense to do it from cf scheduler because if CF is > locked up it won't execute. The windows scheduler always will! > > > At 07:21 PM 10/1/2014, Russ Michaels wrote: > > >Just use the previously mentioned commands that is all you need > > > > > >On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss <bliss.j...@gmail.com> > wrote: > > > > > >Care to share the batch file? > >On Oct 1, 2014 5:56 PM, "Russ Michaels" <r...@michaels.me.uk > <javascript:;>> > >wrote: > > > > > > > > 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 > ><javascript:;>> 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 > ><javascript:;>> > > > > 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 > ><javascript:;>> > > > > > 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 > ><javascript:;>> > > > > > 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:359424 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm