I haev a script that runs every 2 minutes on a server and it gets pretty annoying if your thing to do something else at the same time. I know you can do this manually by using a shortcut but that doesn't help me with my scheduled task - any ideas?
Somewhat related I asked about / requested a windows service be created that could be used to trigger automise scripts on certain events (i.e. fire scripts based on file and folder changes, time / schedule, memory / cpu / process watching etc). I would image if that existed that it would solve my problem - any chances that will ever be written?
Thanks, TJ
Hi Tim,
If you're using Windows Vista or 2008 then you can enable the 'Hidden' option on the scheduled task, it's on the General tab of the tasks properties, otherwise you can look at using the 'start.exe' command utility with the /min switch. With regards to the trigger application, it's something we definitely would like to have available but I'm not sure when we will be written.
Regards,
Paul.
Thanks Paul, unfortunately I'm using XP so the "start" method is the only option, but if you do that then the scheduler will run parallel processes (I assume this is because the "start" command is internal to cmd.exe and you need to run "cmd.exe /c" as a prefix to the start command and the OS can't match up the process names to block the second and subsequent executions of the task). The default behaviour of the scheduled task is to run sequentially and not run another version of the task until the first has completed (which is what I want), so the start method doesn't help either
Thanks again for your help, TJ