Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - schedule task in powershell

Reply
 
Old 02-15-2007   #1 (permalink)
Did


 
 

schedule task in powershell

hi all,
I want to run script every x time from shell.
should I use the "at" command or there is specific cmdlet ?


My System SpecsSystem Spec
Old 02-15-2007   #2 (permalink)
$hay


 
 

Re: schedule task in powershell

If the interval is relatively small I suggest to use the start-sleep

cmdlet and write a routine that re-runs the code, otherwise

use AT.


--
$hay
http://scriptolog.blogspot.com



"Did" <didi10000@walla.co.il> wrote in message
news:1171550883.116059.300530@m58g2000cwm.googlegroups.com...
> hi all,
> I want to run script every x time from shell.
> should I use the "at" command or there is specific cmdlet ?
>



My System SpecsSystem Spec
Old 02-15-2007   #3 (permalink)
Jeffery Hicks


 
 

Re: schedule task in powershell

On 15 Feb 2007 06:48:03 -0800, Did wrote:

> hi all,
> I want to run script every x time from shell.
> should I use the "at" command or there is specific cmdlet ?


Take a look at these blog entries and see if they help:

http://blog.sapien.com/current/2006/...owershell.html
http://blog.sapien.com/current/2006/...ell-tasks.html
--
Jeffery Hicks
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
VBScript & Windows PowerShell Training -
www.ScriptingTraining.com/classes.asp
Windows PowerShell? - www.SAPIENPress.com/powershell.asp

blog: http://blog.SAPIEN.com
blog: http://jdhitsolutions.blogspot.com
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Rename schedule task VB Script
Task Schedule batch file Vista General
Schedule a task with Vista task Scheduler wakes up computer and mo Vista General
schedule a task with WMI? PowerShell
Schedule Task Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46