Re: scheduled task never run on RDP?
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Tue, 12 Apr 2005 22:17:44 +1000
You can monitor a scheduled task via a console or RDP
session if
a) you log on first under the same account as used by the
scheduled task, and
b) the scheduled task starts after you have completed
the logon process.
The usual method to monitor a scheduled task is by
placing its commands into a batch file, then collecting
the standard and error output from each command into
separate log files.
"ykffc" <ykffc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1E095614-F97A-4611-BDA8-8171BEFB46FD@xxxxxxxxxxxxxxxx
> <quote>To watch a task execute, you must be logged on under
> the same account as the account that is used for the scheduled
task.</quote>
> agree
> <quote> Whether your current session is a console or an RDP session is
> irrelevant</quote> Maybe you've misread my question. I'd better put up the
> question differently: is there any way I could monitor an automated
scheduled
> task via a RDP session? Monitoring means to be able to interact with the
> program as required and/or break the running code when required (but via a
> RDP sesssion).
>
>
>
> "Pegasus (MVP)" wrote:
>
> > See below.
> >
> > "ykffc" <ykffc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:CC9122CA-125E-412E-8CA3-7BD172E16B50@xxxxxxxxxxxxxxxx
> > > I am able to run an already-created scheduled task from the RDP
(remote
> > > desktop) by right-click a task, then select run. Is it true that no
matter
> > > how the task is set-up, we could only interact with it from the
console,
> > but
> > > never on a remote desktop? I was made to believe (based on
experience)
> > that
> > > I an never see what is going on (with the task I started via a
scheduler)
> > > unless I am sitting in front of the console, true or not?
> > To watch a task execute, you must be logged on under
> > the same account as the account that is used for the
> > scheduled task. Whether your current session is a
> > console or an RDP session is irrelevant.
> >
> > >
> > > Query 2: If a scheduled task is configured to run under a certain
Domain
> > > Account, will or could we make this task to run if the console is
logon as
> > a
> > > Local user when the computer starts up?
> > Scheduled tasks run independently of console sessions.
> >
> > > Query 3: Excuse me if I were repeating. Assume a scheduled task is
> > > configured to run under a certain Domain Account, and when the
computer
> > > starts up, assume the user signs in using a different Domain Account.
My
> > > experience says, the task will run in the background. (true?). Now
what
> > > happen if I logoff at the console and logon as a local user
(non-Domain
> > > user)? Will any tasks run on the scheduled hour?
> > Scheduled tasks will always run in the background.
> > However, the become visible under certain circumstances -
> > see the reply to Q1.
> >
> > However . . . I admit that I have seen some machines where
> > the scheduled task remained invisible no matter what!
> >
> >
> >
.
- Follow-Ups:
- Re: scheduled task never run on RDP?
- From: ykffc
- Re: scheduled task never run on RDP?
- References:
- scheduled task never run on RDP?
- From: ykffc
- Re: scheduled task never run on RDP?
- From: Pegasus \(MVP\)
- Re: scheduled task never run on RDP?
- From: ykffc
- scheduled task never run on RDP?
- Prev by Date: Re: scheduled task never run on RDP?
- Next by Date: Re: win 2k error
- Previous by thread: Re: scheduled task never run on RDP?
- Next by thread: Re: scheduled task never run on RDP?
- Index(es):
Relevant Pages
|