I have a file named cron.php that exists in the application/controllers/admin directory in my CodeIgniter project.
From what I understand, the correct cron command to perform the "test" method in the cron.php file in cPanel would be:
/opt/php56/bin/php /home4/username/public_html/index.php cron test
However, the cron.php is in an admin folder in the controllers folder. Does that mean I have to do something like:
/opt/php56/bin/php /home4/username/public_html/index.php admin/cron test
How would I go about doing this?