Tool

bkeadle's picture
tool
Reads:

3365

Score:
0
0
 
Comments:

0

RunEvery

Author Info

6 April 2005 - 5:42pm
Submitted by: bkeadle

(View Disclaimer)

license: 
Free

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.

Fichier attachéTaille
runevery.zip392.39 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

© 2013 Novell