[574] in winnt

home help back first fref pref prev next nref lref last post

Re: NT scripting

daemon@ATHENA.MIT.EDU (Jamie Rasmussen)
Thu Oct 5 16:55:02 2000

Message-Id: <4.3.2.7.2.20001005163619.033565d8@hesiod>
Date: Thu, 05 Oct 2000 16:53:08 -0400
To: Chris Meehan <cmeehan@mit.edu>, ntpartners@mit.edu
From: Jamie Rasmussen <jrasmuss@MIT.EDU>
In-Reply-To: <200010042028.QAA06364@melbourne-city-street.MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi,
   The task scheduler service (AT, SOON) runs in the "System Account"
context, not in a user context.  Because of this, any programs the
scheduling service starts will not have access to the network.

The System Account identifies the operating system itself, and any
process running under this account has full access to anything on the
machine. For example, threads running in a System Account process
can read from and write to any file on the machine. However, the
System Account is never validated by the domain, so it has no access
to network resources.

This was taken from the following URL:
http://www.microsoft.com/msj/defaultframe.asp?page=/msj/1097/WINNT.htm

   I suspect this may be your problem (is the J: drive a network drive?)
If so, you could move sysinfo.bat to a local drive and see if that helps 
things.
   I also think this caused the problem Dave Broderick <djbroder@MIT.EDU> was
having a month ago.
Hope this helps!

Jamie Rasmussen
Watchmaker
Project Pismere

At 04:27 PM 10/4/2000 -0400, Chris Meehan wrote:
>Hi All,
>I have started to play with scripting since the last NT Partners meeting.
>I am very stuck with the AT command and its variant SOON.  If I enter a
>command it will show up in WINAT as an active task and execute on time, but
>nothing happens.  For example  SOON 60 "CMD /C j:\Software\bin\sysinfo.bat"
>  Should run SYSINFO.BAT in 60 seconds, but all that happens is that in 60
>seconds it is removed from the task scheduler.  This happen when I try to
>run this locally or remotely.  Task scheduler is running in both cases.
>Any help would be appreciated.
>Thanks
>Chris
>
>
>************************************************************
>Chris Meehan
>400 Main St. E19-504             Phone    (617) 253-7619
>Cambridge MA 02139-4307          Fax      (617) 258-0650
>************************************************************
>My mother said, "You won't amount to anything because you
>procrastinate."
>
>I said, "Just wait."
>      ---Judy Tenuta


home help back first fref pref prev next nref lref last post