How to run a php url with parameters in cron tab [duplicate]
Possible Duplicate: How to run a php script in cron I have a php script that is set to run in cron.I want to run the url with passing one parameter. I tried to pass parameters as query string and put in crontab it didn't work. How to run a url with parameters using cron? php /var/www/prod/Reports/report.php?email=sample@sample.com Ideally running PHP in command line interface (CLI) you would use $argv and $argc globals to pass parameters to the script. Example: my_php_script.php <? var_dump($argv); php my_php_script.php arg1 arg2 array(3) { [0]=> string(17) "my_php_script.php" [1]=> string(4)