I am working on project based on CodeIgniter. I have cron command like below:
0 5 * * * /usr/bin/php /var/www/my-project/index.php 'test/mytest'
here test is the controller and mytest is function. Now I want to pass a parameter for mytest function from cron command. Say I want to pass a city name.
What adjustment I should made in the cron command to achieve my goal.
Thanks