![]() |
(11-21-2021, 05:41 AM)kenjis Wrote: It should be /home/my-app/app/Controllers/Test.php.My Cron command /usr/bin/php /home/my-app/mydomain.co.uk/index.php test >> /home/my-app/app/Controllers/logfile.php Output = Status: 404 Not Found I believe the issue is the Ci4 app/Controllers folder sits outside of the folder where the domain index.php file sits app/Controllers sit in /home/my-app/app/Controllers/ domain index.php sits in /home/my-app/mydomain.co.uk/ I really appreciate you time. |
Messages In This Thread |
Accessing Controller with CRON - by 68thorby68 - 11-17-2021, 10:37 AM
RE: Accessing Controller with CRON - by Secux - 11-17-2021, 02:20 PM
RE: Accessing Controller with CRON - by kenjis - 11-17-2021, 10:18 PM
RE: Accessing Controller with CRON - by 68thorby68 - 11-18-2021, 12:30 PM
RE: Accessing Controller with CRON - by kenjis - 11-18-2021, 04:06 PM
RE: Accessing Controller with CRON - by 68thorby68 - 11-21-2021, 05:30 AM
RE: Accessing Controller with CRON - by kenjis - 11-21-2021, 05:41 AM
RE: Accessing Controller with CRON - by 68thorby68 - 11-21-2021, 06:07 AM
RE: Accessing Controller with CRON - by 68thorby68 - 12-07-2021, 02:55 AM
|