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
“/” is required to delimit between RUNEVERY options and the Program and parameters entry
Option Defaults are:
Hold down SHIFT key and press OK to view/manage the Registry flag entries.