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
http://www.leadps.org



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

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

Hello!

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
gr...@post.pl




------------------------------

_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


End of wpkg-users Digest, Vol 31, Issue 6
*****************************************
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to