Reputation: 137
I have a Scheduled Task that runs a PHP file every 5 minutes.
It runs
C:\wamp\bin\php\php5.5.4.12\php.exe -f "C:\wamp\www\run.php"
That works fine, but every time it runs it opens the Command Prompt window, then once it's done running it closes it.
How do I make it so the Command Prompt window never displays?
Thank you
Upvotes: 2
Views: 2061
Reputation: 1061
You need to make you task run either an user is logged in or not.
there is in option for that in scheduled task
And with that option you wont see the cmd pop out any more
Edit for solving your question in comment.
Yes you can have the schedule task run every one min with those following option. 7
Re-Edit
Use the following trigger if you want to run the talk every min at computer start
Upvotes: 5