Discussion Locked

Script file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to develop a script file that when sent to all users on the network via email, will schedule another script file to run, once a month, as a task on each computer. I have the second script file written, but cannot figure out how to writethe one to automate scheduling. Please help!! Network users are running Win 98, 2000, XP.

5 replies

by joseph moore

Your file to set up the schedule (a BAT file, I assume) can call the old AT command. It does still work in Win2K & WinXP. I am not sure if it is on Win98.
Here is the command syntax of AT:

The AT command schedules commands and programs to run ona 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.

by fenaikh

Hi

The NT AT command scheduler helps you to schedule a command or script to run on the local computer only at a certain time and avialble only on operating systems winnt/2k/XP only, on the other hand third party job scheduling software can helpyou organize, automate, and manage recurring computer tasks to reduce the cost of operations and manage workloads across Operating systems. Some of them very expansive.

Good Luck

Mohamed

#ifdef Software product: crondSys

http://www.ifdef.com

Advanced system Concepts product: ActiveBatch
http://www.Advsyscon.com

AppWorx product: Appworx
http://www.AppWorx.com

***Very Important NOTE *********
After you copy the URL a space or a %20 maybe gets inserted in the URL when you paste it into your browser. Delete any spaces or such characters from the URL for the page to be loaded.

This discussion is closed to new replies.