![]() |
CronJob CI4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: CronJob CI4 (/showthread.php?tid=82040) |
CronJob CI4 - farhsubs - 06-04-2022 how to use cronjob on ci4 which can only be accessed by cli not public user? RE: CronJob CI4 - MGatner - 06-07-2022 You can do it a number of ways, but I recommend creating Commands and running them via spark. If you want to try the (unreleased) Tasks library this handles the scheduling and execution of CRON jobs for you: https://github.com/codeigniter4/tasks |