Novell Cool Solutions

RunEvery



By:

April 6, 2005 6:42 pm

Reads:3,646

Comments:0

Score:Unrated

Print/PDF

License:
Free

Download runevery

By Bryan Keadle

ZENworks is great for force running programs on a schedule. However, for those environments that don’t have ZENworks, use RUNEVERY in your login scripts/administration batch files to run a program on a periodic basis, either by workstation or by user.

So, for example, say you need to run something only once a day, per workstation, upon login (subsequent logins that day would not execute the command):

RUNEVERY DAY WS MIN NOWAIT QUIET / DAILYADMIN.CMD

Or, you need to run UserProfileCleanup.exe weekly, per user, upon login, and wait for the program to finish before continuing:

RUNEVERY WEEK USER MIN WAIT QUIET / UserProfileCleanup.exe

Or, you need to run MonthlyMaintenance for every workstation on the 1st of each month:

RUNEVERY MONTH WS MIN NOWAIT QUIET / MonthlyMaitenance.cmd

Even for environments that DO have ZENworks (like mine), this is still a useful, easy-to-use utility for those “quick” remedies, despite the much more advanced capabilities ZENworks provides.

SYNTAX: RUNEVERY (FREQUENCY) (OPTIONS) / (Program name) (Parameters)

(FREQUENCY) = MON, TUE, WED, THUR, FRI, SAT, SUN, DAY, WEEK, MONTH, YEAR, 1ST

(OPTIONS) = USER, WS, MIN, HIDDEN, NOWAIT, and/or QUIET

**NOTE:
“/” is required to delimit between RUNEVERY options and the Program and parameters entry

Option Defaults are:

DAY
HKLM registry flag (WS)
WAIT for program to finish before continuing
Run in Normal Window
with BoxText info (not QUIET)

Hold down SHIFT key and press OK to view/manage the Registry flag entries.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...


Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS