Re: Kickstart script on server?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Aaron Bertrand - MVP (aaron_at_TRASHaspfaq.com)
Date: 05/03/04


Date: Mon, 3 May 2004 09:27:59 -0400

How about this. Have a scheduled task in windows, that checks a database
every five minutes. If a flag says 1, run the VBS script and set the flag
to 0.

Then, you can kickstart it by hitting an ASP page that connects to the same
database and sets the flag to 1.

-- 
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Lasse Edsvik" <lasse@nospam.com> wrote in message
news:OVcPNnOMEHA.2628@TK2MSFTNGP12.phx.gbl...
> Hello
>
> I have a page that mails my customers and it times out...... I need some
way
> to store it as .vbs and just kickstart it from my asp-page so it'll run in
> background.
>
> could you guys show me some code on how to do that? I dont have
> visual-studio or anything like that so it's got to be "simple" without any
> additional com+ programming or anything like that.
>
> TIA
> /Lasse
>
>


Relevant Pages

  • Re: Kickstart script on server?
    ... Have a scheduled task in windows, that checks a database ... If a flag says 1, run the VBS script and set the flag ...
    (microsoft.public.inetserver.asp.general)
  • Re: Kickstart script on server?
    ... can also store such parameters in the database when you switch the flag... ... VBS script was called. ... >> Aaron Bertrand ...
    (microsoft.public.inetserver.asp.general)
  • Re: CommonDialog returns wrong context
    ... I tried setting the flag: it does not solve my problem. ... Probably because my app is calling the 'Print' CommonDialog (for which the ... connectionstrings are pointing to a database in the current path. ... connectionstring in the form load procedure does not help because of the Ado ...
    (microsoft.public.vb.bugs)
  • Re: Finding last record in month for each of several types of reco
    ... used to flag the records which are the "Last Record of the Month" ... "Richard Buttrey" wrote: ... >>In your database, ... >>secondary sort key and the Date as the 3rd sort key. ...
    (microsoft.public.excel.programming)
  • Re: Send email
    ... I just want it to send automatically once i open the database without ... calls your email sub and set that macro to run automatically at startup. ... After the Send/Display call, you'll set that flag to True to ...
    (microsoft.public.access.formscoding)