Windows 7 Forums


Windows 7: Console output window shown by task scheduler

02 Jul 2009   #1

Windows 7 x64
 
 
Console output window shown by task scheduler

Hello...



I had a task (a php script) running periodically on Windows Vista to change my network routes automatically (because OSPF support have been dropped by MS) and it was working fine...

Now I am trying to run the very same script on a Windows 7 system... It runs fine, but on every run it opens a 'console' window to show the script output... This behavior didn't happen on Vista...

I've tried to make a shortcut of php.exe and make it run minimized, altering the task to run the shortcut instead of the executable... Didn't work...

I don't see anywhere a place to suppress this output window... Can this be done?

Thanks in advance.
My System SpecsSystem Spec

02 Jul 2009   #2

Windows 7 Ultimate x64, Mint 9
In the Crust
 
 

If you know how to edit the script, go into it and, if needed, put in something that stops the output. I don't know how to do it, but I imagine that there is a way.

~Lordbob
My System SpecsSystem Spec
02 Jul 2009   #3

Windows 7 x64
 
 

Sorry, as I mentioned, the problem isn't the script output... It used to run exactly like this on Vista...

The console window pops up when the script is run, the actual output (if any) is show far back in the script execution... Even if there's no output from the script the black and empty console window is still shown...
My System SpecsSystem Spec
.


02 Jul 2009   #4

Windows 7 RTM x64
Belgium & Hungary
 
 

With AutoIt you can catch that window right after it opens and close it!
Not the best solution I know.

AutoIt v3 - Automate and Script Windows Tasks - For Free!
My System SpecsSystem Spec
02 Jul 2009   #5

Windows 7 Ultimate x64, Mint 9
In the Crust
 
 

Interesting........ I have no idea then....

Maybe they changed some default setting with Seven. It might make a difference if you put something in the script to stop the console.

~Lordbob
My System SpecsSystem Spec
02 Jul 2009   #6

Windows 7 x64
 
 

Quote   Quote: Originally Posted by robertoszwald View Post
With AutoIt you can catch that window right after it opens and close it!
Not the best solution I know.

AutoIt v3 - Automate and Script Windows Tasks - For Free!
I'll check it out... Thanks!

And thanks too Lordbob75... If I can't make it run the way I want I'm thinking about coding a windowless WPF app... Maybe that's the way to go
My System SpecsSystem Spec
Reply

 Console output window shown by task scheduler problems?



Thread Tools



Similar help and support threads for: Console output window shown by task scheduler
Thread Forum
Solved Tip to bypass UAC prompt w/ Task Scheduler AND focus the window Customization
Need help creating a task scheduler task to move files over a network. General Discussion
Task scheduler unable to load task status/active tasks at startup. Performance & Maintenance
Function of time field in New Trigger window Task Scheduler? Customization
Solved Task Scheduler failing to start task with merged network locations General Discussion


All times are GMT -5. The time now is 06:52 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" 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