Possible Duplicate:
Cron Jobs calling a PHP script with variables
I have a cron job set up and my command looks like this:
php -q home/seatbe5/public_html/shop/index.php?page=sendorder/sendorder
I get an error saying no input file specified?
When I remove the route=… it works fine. is there a work around to this?
Thanks
Peter
If you’re host doesn’t allow wget. Write this simple php script:
script.php:
Then just put script.php in your cron.
I’m not entirely sure what your cron needs to do, does it need to return anything? If it just has to call it, and you don’t need any dynamic parameters, this would be fine.