Is it correct to use the following command in a cron job:
/usr/bin/php -q /home/**/public_html/scores.php?date=12/05/2009
I haven't found any supportive article / material to answer it, hence i am putting forth this question to the community.
So the question is is there a way for me to include a variable in a cron job calling a PHP script?
Thanks
in cron jobs, here is how you should pass the argument
/usr/bin/php -q /home/**/public_html/scores.php date=12/05/2009
*take note there is no "?"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With