Possible Duplicate:
What is the Windows version of cron?
Hi everyone,
I’m having a script.php on IIS server and I want to call that script automatically every x minutes. The problem is that I need to pass arguments to the script like I would do in the browser (script.php?task=aaa). it seems that scheduled task ignores argument ?task=aaa…
How can I run this script passing it some “GET” arguments?
Thanks,
L
You can pass parameters into the file by invoking it like so:
and then you can parse argv with this function:
Source: http://php.net/manual/en/features.commandline.php