[wpkg-users] tool for task scheduling?

Casey Mirch cmirch at leadps.org
Tue May 11 18:45:04 CEST 2010

Would AT do the job?

  at 22:00 /every:M,T,W,H,F z:\some\path\this_script.bat

I don't have Windows 7 or Windows 2008 to know if it has been eliminated, but it has been a native Windows command since as far back as Windows 2000 or earlier.  Unlike the GUI task scheduler, commands scheduled by AT run as the SYSTEM user and independent of interactive logons--so if the administrator who created the job changes his/her password, the job won't break or lock out the account.  As with most non-interactive jobs run as SYSTEM, just be sure your script generates a minimum of output to stdout.  Too much, and the task will seize up.  I'm not certain whether redirecting to a file solves that problem.

There's an "/interactive" switch available from AT, which is useful for testing.  It makes a command window running your script visible to the logged-in user.

You can schedule commands at another computer, too.

  at \\somewindowspc 22:00 /every:M,T,W,H,F z:\some\path\this_script.bat

Casey Mirch
Manager, Data and Systems Administration
Leadership Public Schools 
at leadps.org I am cmirch

-----Original Message-----

Message: 1
Date: Mon, 10 May 2010 11:36:31 +0200
From: Grzegorz Marsza?ek <graf0 at post.pl>
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] tool for task scheduling?
Message-ID: <36650BFA-69C5-4D43-B409-919CCEEBC54D at post.pl>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed; delsp=yes


I need to schedule wpkgclient start - to run wpkg.js at diffirent times. I need this for running wpkg on servers (rare reboots) and laptops (also rare reboots - usually hibernate, and reboots not always in company networks).

I now there is schtasks command - but this is REALLY pain in the ass... :(

First - I've got diffirent language versions of windows. Many Polish, few English, few German etc. etc. First two languages I now, but German - sorry... And then - I've got diffirent versions of systems - XP SP3, Vista, Windows 7, Windows 2003, Windows 2003 R2, Windows 2008
- event few Windows 2000!

So - does anybody nows some wise commandline tool, where I can say:  
run this script at 10:00 from monday to friday - and it will JUST WORK on any windows system?
Grzegorz Marsza?ek
graf0 at post.pl


wpkg-users mailing list
wpkg-users at lists.wpkg.org

End of wpkg-users Digest, Vol 31, Issue 6

More information about the wpkg-users mailing list