Skip to content

CodeIgniter Task Scheduler

This makes scheduling Cron Jobs in your application simple, flexible, and powerful. Instead of setting up multiple Cron Jobs on each server your application runs on, you only need to setup a single cronjob to point to the script, and then all of your tasks are scheduled in your code.

Besides that, it provides CLI tools to help you manage the tasks that should be ran, and more.

This library relies on CodeIgniter\Settings library to store information, which provides a convenient way of storing settings in the database or a config file.


PHP CodeIgniter


Install via Composer:

composer require codeigniter4/tasks

And schedule the task:

// ...
class Tasks extends BaseTasks
    // ...
    public function init(Scheduler $schedule)


Every open-source project depends on its contributors to be a success. The following users have contributed in one manner or another in making this project:


Made with