Re: win2K task scheduler - at system startup
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 08/08/04
- Next message: Sam G: "Re: Beginning Dump of Physical Memory"
- Previous message: DL: "Re: REMOVING OS MENU CHOICE AT STARTUP"
- In reply to: Ooi Wee Chuan: "win2K task scheduler - at system startup"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 08 Aug 2004 15:50:25 +0200
Ooi Wee Chuan wrote:
> Hi, I've scheduled a console app to run at system startup (not requiring any
> logon). However, it seems like it has problems connecting to my local
> database server which runs as a service (Interbase 6.0.2).
>
> I don't have any problem if I schedule it to run at logon/any other options.
>
> I don't see the MSTask popup window as well (which I always see) if I
> schedule at system startup.
>
> Why the differerences and how can I make my app to work completely with
> system startup option? Anything special to look out for with this option??
Hi
Maybe the database service haven't had time to start up yet when your
scheduked task kiks in. Try to e.g. launch a script that adds a
delay first before launching the console app. Or better, let the
script check the service status in a loop to the service status is
reported as running.
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Sam G: "Re: Beginning Dump of Physical Memory"
- Previous message: DL: "Re: REMOVING OS MENU CHOICE AT STARTUP"
- In reply to: Ooi Wee Chuan: "win2K task scheduler - at system startup"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|