I'm trying to set up a CRON job to make some changes to the database when installing CodeIgniter and there are problems with the host that prevent it from working. Setting up the CRON host allows you to execute a PHP file rather than invoke a URL.
What I tried:
Curl, wget, file_get_contents, fopen, http_get from a static PHP file - all this is prohibited by the host
/path/to/php /path/to/index.php controller method - use the command line interface
After fruitless conversations with the owner, I have no ideas. Does anyone know how I could call the controller method from a static PHP file without the above?
PaulK source share