Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeigniter4/tasks
Task Scheduler for CodeIgnter 4
https://github.com/codeigniter4/tasks
codeigniter4 task-runner task-scheduler tasks
Last synced: 6 days ago
JSON representation
Task Scheduler for CodeIgnter 4
- Host: GitHub
- URL: https://github.com/codeigniter4/tasks
- Owner: codeigniter4
- License: mit
- Created: 2020-04-27T18:59:30.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-11T12:05:49.000Z (3 months ago)
- Last Synced: 2025-01-12T14:03:08.676Z (13 days ago)
- Topics: codeigniter4, task-runner, task-scheduler, tasks
- Language: PHP
- Homepage: https://tasks.codeigniter.com/
- Size: 734 KB
- Stars: 100
- Watchers: 17
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome - codeigniter4/tasks - Task Scheduler for CodeIgnter 4 (PHP)
README
# CodeIgniter Tasks
A task scheduler for CodeIgniter 4.
[![PHPUnit](https://github.com/codeigniter4/tasks/actions/workflows/phpunit.yml/badge.svg)](https://github.com/codeigniter4/tasks/actions/workflows/phpunit.yml)
[![PHPStan](https://github.com/codeigniter4/tasks/actions/workflows/phpstan.yml/badge.svg)](https://github.com/codeigniter4/tasks/actions/workflows/phpstan.yml)
[![Deptrac](https://github.com/codeigniter4/tasks/actions/workflows/deptrac.yml/badge.svg)](https://github.com/codeigniter4/tasks/actions/workflows/deptrac.yml)
[![Coverage Status](https://coveralls.io/repos/github/codeigniter4/tasks/badge.svg?branch=develop)](https://coveralls.io/github/codeigniter4/tasks?branch=develop)![PHP](https://img.shields.io/badge/PHP-%5E7.4-blue)
![CodeIgniter](https://img.shields.io/badge/CodeIgniter-%5E4.1-blue)
![License](https://img.shields.io/badge/License-MIT-blue)## Installation
Install via Composer:
composer require codeigniter4/tasks
Migrate the database:
#### for Unix
php spark migrate -n CodeIgniter\\Settings
#### for Windows
php spark migrate -n CodeIgniter\Settings## Configuration
Publish the config file:
php spark tasks:publish
## Defining tasks
Define your tasks in the `init()` method:
```php
// app/Config/Tasks.php
command('demo:refresh --all')->mondays('11:00 pm');
}
}
```## Docs
Read the full documentation: https://tasks.codeigniter.com
## Contributing
We accept and encourage contributions from the community in any shape. It doesn't matter
whether you can code, write documentation, or help find bugs, all contributions are welcome.
See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details.