Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After a lot of fiddling around, I managed to launch a php script through Windows 7 Task Manager that mines data from the Twitter API every 5 minutes. The Task properties are as follows:

Program/script:
"C:\Program Files\GnuWin32\bin\wget.exe"

Add arguments (optional):
-O - -q -t 1 http://localhost/sentimeter/mining.php

However, this launches a taskeng.exe popup every 5 minutes, causing me to loose focus on the window that I'm working in. In another topic, I setting the /NOCONSOLE property should fix this, but setting the following arguments in the Task details doesn't work:

Add arguments (optional):
/NOCONSOLE -O - -q -t 1 http://localhost/sentimeter/mining.php
share|improve this question
    
possible duplicate of Run minimized batch file from scheduler – Bob May 16 '12 at 10:06
up vote 1 down vote accepted

You could try Hidden Start, it will allow you to run your script without a console window

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .