snowsoft / oascheduling
Task scheduling extension for open-admin
0.01
2023-10-02 15:06 UTC
Requires
- php: >=7.0.0
- snowsoft/open-admin: ~v0.01
Requires (Dev)
- laravel/laravel: ~5.5
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-11-12 18:40:54 UTC
README
Screenshot
Installation
$ composer require snowsoft/oascheduling
$ php artisan admin:import scheduling
Open http://your-host/admin/scheduling
.
Try to add a scheduling task in app/Console/Kernel.php
like this:
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).