I have added the following cron job URL with a parameter in cpanel, but it is not working.
0 * * * * php http://www.example.com/cron.php?instance=0
After searching a lot I changed this as follows.
0 * * * * php /home/username/public_html/cron.php?instance=0
But this is also not working for me.
0 * * * * php /home/username/public_html/cron.php?instance=0
Some of server can not read the cron job URL with a parameter. They read the parameter if you use parameter as follows.
0 * * * * php /home/username/public_html/cron.php instance=0
This works for me!