Subject Re: [firebird-support] FB 1.5 - Script a DB Server restart on Windows?
Author Teträm Corp
Hi,

two ways to do that:

use 2 tasks with those commands
*net stop FirebirdServerDefaultInstance
net start FirebirdServerDefaultInstance

or put them in a batch file and make only one task using the batch

you may be will need to change the "run as" property of the task

Thierry
*
Myles Wakeham a écrit :
>
>
> I'm trying to find out what the command line would be for me to have
> Windows AT scheduler force a restart of a Firebird 1.5 Server
> automatically? We have a client that is finding after about 7 days of
> operation, that their FB 1.5 Super Server on Windows Server 2003 is
> refusing connections for some reason, and a restart seems to clear the
> problem.
>
> Until I get to the bottom of what is going on, I'd like to have it
> schedule an automatic restart nightly so at least I can keep them online
> until we find out what is causing the problem.
>
> Thanks for any input in advance.
>
> Myles
> --
> =======================
> Myles Wakeham
> Director of Engineering
> Tech Solutions USA, Inc.
> Scottsdale, Arizona USA
> http://www.techsolusa.com <http://www.techsolusa.com>
> Phone +1-480-451-7440
>
>