Background processing

bruce@schuck.com bruce@schuck.com
Thu, 14 Aug 2003 11:12:05 -0700 (PDT)


Win2k is not DOS. Programs can run in the background.
Services can run in the background.

The AT command can schedule jobs if the schedule
service is running.

A more useful enhancement to AT.exe is soon.exe which
lets you schedule jobs "soon". You can get it from here:

http://www.eu.microsoft.com/windows2000/techinfo/reskit/tools/existing/soon-o.asp



The AT command schedules commands and programs to run
on a computer at
a specified time and date. The Schedule service must be
running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer.
Commands are scheduled on the
                   local computer if this parameter is
omitted.
id                 Is an identification number assigned
to a scheduled
                   command.
/delete            Cancels a scheduled command. If id
is omitted, all the
                   scheduled commands on the computer
are canceled.
/yes               Used with cancel all jobs command
when no further
                   confirmation is desired.
time               Specifies the time when command is
to run.
/interactive       Allows the job to interact with the
desktop of the user
                   who is logged on at the time the job
runs.
/every:date[,...]  Runs the command on each specified
day(s) of the week or
                   month. If date is omitted, the
current day of the month
                   is assumed.
/next:date[,...]   Runs the specified command on the
next occurrence of the
                   day (for example, next Thursday). 
If date is omitted, the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch
program to be run.
On Thu, 14 Aug 2003 10:49:57 -0400, Kenn Baynton wrote:

> 
> Greetings all, 
> 
>         As some of you may know, I am engaged in a
> conversion project to
> move from OpenVMS/ Interbase 3.3J/ PH 7.1 to Win2K/
> Oracle9i/ PH 8.41C.  I
> have run into an issue that I hope the collective can
> help with.  
> 
>         I know both Unix and OpenVMS have queues,
> secondary process areas
> that run in the background.  MSDos has no such
> functionality to my
> knowledge.  I am trying to run a QUIZ report from a
> QUICK screen, but I
> don't want the command process text to overlay the
> QUICK screen.  Does
> anyone know a way to run a process in the background
> from Win2K/DOS?  It has
> been suggested to me that Windows Scripting could
> probably run my process in
> a separate DOS Command window, but I am unsure how to
> proceed.  If anyone
> has done something like this, I would appreciate your
> input, and if
> possible, a code sample.
> 
> Thanks 
> 
> Kenn Baynton 
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = =
=
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to
> powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe <password>" in message body
> to powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must
> be a subscriber.