I use a scheduled task to run wpkg every evening, but use a script to generate a random start time as follows:
@echo off rem Script to create a scheduled task to run wpkg rem Random number between 0 and 59 set /a MIN=%RANDOM%/556 rem Prefix 0 to 9 with a leading 0 if %MIN% LSS 10 ( set MIN=0%MIN% ) else ( rem ) schtasks /delete /tn WPKG /F schtasks /create /sc daily /tn WPKG /tr "\\server\netboot\wpkg-0.9.10\wpkg-start.bat" /ru SYSTEM /st 01:%MIN%:00 <------------------ END BATCH FILE ---------------------> I run this as a startup script via group policy, to the task is rescheduled at every boot. Josh ____________________________________________________________________________________ Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users