Skip to content

datamweb/codeigniter4-tasks

 
 

Repository files navigation

CodeIgniter 4 Tasks

A task scheduler for CodeIgniter 4.

NOTE: Just starting development. Not for active consumption or it WILL make your app sick.

My "to-do list" for this module:

  • provides commands to view when tasks are scheduled to run. Can list all for this week, or on a specific day.
  • command to run any job manually
  • command to disable/enable a job
  • should have a variety of ways to notify when done, like logging, email, etc
  • must be able to call shell commands
  • must be able to run closures
  • must be able to run commands
  • restrict by environment
  • can specify the timezone
  • should collect performance information (in writeable as csv)
  • command to view performance (https://github.com/codestudiohq/laravel-totem)
  • provide a debug toolbar pane

How to Try

  1. Add the following in your project's composer.json:
    "require": {
        "codeigniter4/tasks": "dev-develop"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/codeigniter4/tasks.git"
        }
    ],
  1. Run composer update.

  2. Run php spark migrate --all.

  3. Copy vendor/codeigniter4/settings/src/Config/Tasks.php into app/Config/.

  4. Update the namespace in app/Config/Tasks.php.

<?php

namespace CodeIgniter\Tasks\Config;

<?php

namespace Config;

About

Task Scheduler for CodeIgnter 4

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.1%
  • Shell 0.9%