task scheduler php

in windows server 2008



'task scheduler'
of which i run a php script
drop down menu 'start a program'
program/script: c:\file.php

but what do i put for

add arguments (optional)
start in (optional)
LVL 1
rgb192Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

daj_ukCommented:
Add Arguments would be used if you wanted to pass anything extra to the program,  but it depends if the file.php is expecting anything else.  If not, leave blank

Start in -- is a folder to move to before the script is run -- again, if the script does not care where it runs from it is not important.

You may need to change program/script to php.exe and arguments to c:\file.php depending on how your system is configured.  You can not usually run a .php file.  You need to run an executable which then runs the script.  So in my example we run php.exe which passes c:\file.php as the parameter (i.e. the script to run)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgb192Author Commented:
so

add arguments (optional)
file.php

program/script:
php.exe


what is
start in (optional)
0
rgb192Author Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.