I have a cron job set like
php /home/novinarb/public_html/index.php --uri=\"cron/24satahr\"
but the \'uri\' param doesn\'t get to the php
A more robust method would be to accept command-line arguments in your PHP script with getopt() or $argv and making it executable. An example with $argv called script.php:
$argv
script.php
#!/usr/bin/php
Make it executable:
chmod +x script.php
And execute:
./script.php "cron/24satahr"
Will output:
cron/24satahr