Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/open-admin-org/scheduling


https://github.com/open-admin-org/scheduling

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

Scheduling task manager for open-admin
============================

[![StyleCI](https://styleci.io/repos/457982378/shield?branch=main)](https://styleci.io/repos/457982378)
[![Packagist](https://img.shields.io/github/license/open-admin-org/scheduling.svg?maxAge=2592000&style=flat-square&color=brightgreen)](https://packagist.org/packages/open-admin-ext/scheduling)
[![Total Downloads](https://img.shields.io/packagist/dt/open-admin-ext/scheduling.svg?style=flat-square&color=brightgreen)](https://packagist.org/packages/open-admin-admin-ext/scheduling)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square&color=brightgreen)]()

A web interface for manage task scheduling in laravel.

[Documentation](http://open-admin.org/docs/en/extension-scheduling)

## Screenshot

![extention-schedualing](https://user-images.githubusercontent.com/86517067/153514589-e6204239-d227-483a-bf4d-c5da2720f038.png)

## Installation

```
$ composer require open-admin-ext/scheduling

$ php artisan admin:import scheduling
```

Open `http://your-host/admin/scheduling`.

Try to add a scheduling task in `app/Console/Kernel.php` like this:

```php
class Kernel extends ConsoleKernel
{
protected function schedule(Schedule $schedule)
{
$schedule->command('inspire')->everyTenMinutes();

$schedule->command('route:list')->dailyAt('02:00');
}
}

```

And you can find these tasks in scheduling panel.

Debugging
------------
If console shows errors like: `sh: : command not found`
Try adding this your .env file: `PHP_BINARY=/path/to/your/php/binaray/`

License
------------
Licensed under [The MIT License (MIT)](LICENSE).