I want to setup a cronjob for PHP script in ubuntu
I have a script just I want to know how to set it.
* 3 * * * /var/www/html/booking_cron.php
You need to call php binary with argument of the php script:
* 3 * * * /usr/bin/php /var/www/html/booking_cron.php
Be sure your path to php binary is correct.
To find the path to php: which php or find / -name php
which php
find / -name php