Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11970

Re: Stopping background script

From "Dave \"Crash\" Dummy" <invalid@invalid.invalid>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Stopping background script
Date 2018-05-26 10:34 -0400
Organization A noiseless patient Spider
Message-ID <pebr8q$sfs$1@dont-email.me> (permalink)
References <pe9nvs$72h$1@dont-email.me> <peb7vu$1hgu$1@gioia.aioe.org>

Show all headers | View raw


R.Wieser wrote:
> Dave,
> 
>> How can I locate and stop the script?
> 
> If stopping the script is all you're out for, than you could have it
>  create a dummy file (in the temp folder?) and have it regulary check
>  if its still there.  If not, terminate.
> 
> That way the only thing you need to do is to delete that dummy file 
> ...

Thanks! I use text files to otherwise modify running scripts. In fact, a
modification to one of those data files is why I wanted to stop and
restart the script, which only loads the data at startup.

> Though I agree with the other posters that having a program handy by
>  which you can actually find the program which is running the script
>  is preferrable.

Yes. As it happens, I am only running one script in the background so
there is only one instance of wscript.exe running, which I can stop in
Task Manager.

> ... just don't run the same script twice. :-)

No.

FYI, the script I wanted to restart is one that randomly selects the
quotation I include with my signature.
-- 
Crash

Whenever I meet a hot chick these days she's wearing scrubs.

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Stopping background script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2018-05-25 15:25 -0400
  Re: Stopping background script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2018-05-25 15:41 -0400
    Re: Stopping background script "Auric__" <not.my.real@email.address> - 2018-05-26 06:53 +0000
      Re: Stopping background script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2018-05-26 10:23 -0400
    Re: Stopping background script JJ <jj4public@vfemail.net> - 2018-05-26 14:24 +0700
  Re: Stopping background script "R.Wieser" <address@not.available> - 2018-05-26 11:04 +0200
    Re: Stopping background script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2018-05-26 10:34 -0400

csiph-web