Re: Scheduled Task



Hi George,

I'm not sure what do you mean of "minimized". Do you mean, you want to run
the batch file in background?


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
Thread-Topic: Scheduled Task
thread-index: AcaJxHwUA0BU51q/RICm0txuV0tynQ==
X-WBNR-Posting-Host: 68.236.43.8
From: =?Utf-8?B?R2VvcmdlIFNjaG5laWRlcg==?=
<georgedschneider@xxxxxxxxxxxxxx>
References: <5A02FB8C-69C6-4EE4-B250-F01919BA42F5@xxxxxxxxxxxxx>
<d3b0958617dbb8c8538007ca87ac@xxxxxxxxxxxxxxxxxxxx>
<Q3ULOpghGHA.2260@xxxxxxxxxxxxxxxxxxxxx>
<2A9BB44A-760E-487B-9E52-3B31FFDAABBD@xxxxxxxxxxxxx>
<lHyiKBHiGHA.4688@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Scheduled Task
Date: Tue, 6 Jun 2006 16:54:01 -0700
Lines: 161
Message-ID: <4A2AB337-F59B-4721-BCA8-581FC92A3CCF@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.win2000.networking
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win2000.networking:91241
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.win2000.networking

I'm using a net start "service name" and net stop "service name" in two
batch
files. However when I log back onto the server the program isn't
minimized.
is there a way to start the service/program minimized.

"Vincent Xu [MSFT]" wrote:

Hi George,

I understand your requirment.

I think you can configure the scheduled task run under system account:

User name:NT Authority\System

Password is blank.

Hope this helps.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no
rights.
======================================================



--------------------
Thread-Topic: Scheduled Task
thread-index: AcaGQNRFAveayQrWTmqVTcOU0mo80Q==
X-WBNR-Posting-Host: 209.244.152.162
From: =?Utf-8?B?R2VvcmdlIFNjaG5laWRlcg==?=
<georgedschneider@xxxxxxxxxxxxxx>
References: <5A02FB8C-69C6-4EE4-B250-F01919BA42F5@xxxxxxxxxxxxx>
<d3b0958617dbb8c8538007ca87ac@xxxxxxxxxxxxxxxxxxxx>
<Q3ULOpghGHA.2260@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Scheduled Task
Date: Fri, 2 Jun 2006 05:34:02 -0700
Lines: 81
Message-ID: <2A9BB44A-760E-487B-9E52-3B31FFDAABBD@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.win2000.networking
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win2000.networking:91181
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.win2000.networking

Basically the according to the vendor in order to back up their
databse
we
have to shutdown the service that is running. I normall have two
batch
files
to accomplish this task that run through a scheduled task and just
want
to
verify that the a scheduled task will run when the server is logged
off.

"Vincent Xu [MSFT]" wrote:

Hi,

Normaly, when the scheduled task is configured well, I think it
will
work
if the server is just logged off (not shutdown). However, I think
database
has its own backup plans. I'm not sure why you do it manually. Let
us
know
your concerns in detail that we can provide the correct information.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your
newsreader
so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no
rights.
======================================================



--------------------
Date: Thu, 1 Jun 2006 20:48:19 +0000 (UTC)
Message-ID: <d3b0958617dbb8c8538007ca87ac@xxxxxxxxxxxxxxxxxxxx>
From: Ben M. Schorr - MVP <bens@xxxxxxxxxxxxxxxx>
Subject: Re: Scheduled Task
References: <5A02FB8C-69C6-4EE4-B250-F01919BA42F5@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-Newsreader: JetBrains Omea Reader 993.3
Newsgroups: microsoft.public.win2000.networking
NNTP-Posting-Host: rrcs-67-52-71-234.west.biz.rr.com 67.52.71.234
Lines: 1
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.win2000.networking:91168
X-Tomcat-NG: microsoft.public.win2000.networking

Aloha George,

I'm not clear what your question is. Are you asking if the
server
that
hosts
the database is logged off will the scheduled tasks still run? I
would
guess
not, but I'd need more information about what kind of server it
is,
what
kind of database it is and how you've set up your scheduled tasks.

Depending upon the type of database I would generally recommend a
backup
solution that doesn't require the database to be shut down during
backups.
There can be all kinds of log file issues and other such that
you
may
have
to address if you're doing off-line backups.

-Ben-
Ben M. Schorr - MVP
http://www.rolandschorr.com
Microsoft OneNote FAQ: http://www.factplace.com/onenote.html

I have a database that I backup every night. I have two batch
files
one to stop the service at the end of the day prior to the
backup
strating and another one to strat the service once the backup
finishes. If I keep the server logged off with the scheduled
task
still run.











.



Relevant Pages