https://github.com/vukanac/l5-admin-panel
Administration panel for managing Software Licenses of Clients
https://github.com/vukanac/l5-admin-panel
Last synced: 3 months ago
JSON representation
Administration panel for managing Software Licenses of Clients
- Host: GitHub
- URL: https://github.com/vukanac/l5-admin-panel
- Owner: vukanac
- License: mit
- Created: 2015-10-28T11:44:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T22:11:03.000Z (about 1 year ago)
- Last Synced: 2025-02-10T15:17:41.891Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 248 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README-Laravel-Cron.md
- License: LICENSE
Awesome Lists containing this project
README
#### Laravel Cron
Set Schedules in app/Console/Kernel.php (schedule method).
Add only one entry to system cron for scheduling this project.
More advanced is to have one batch/bash script for all projects
whixh only will be called from cron.##### Windows
schtasks /create /sc minute /mo 1 /tn "Task Name" /tr c:\cron-jobs\laravel-projects-every-minute.bat
And in it we will put:
CALL php /path/to/artisan schedule:run >> cron.log
Looks like this is the nices way, to run scheduled job in background without pup-up cmd window.
schtasks /create /sc minute /mo 1 /tn "Task Name" /tr "start /B c:\cron-jobs\laravel-projects-every-minute.bat"
##### Linux
Here is the only Cron entry you need to add to your server:
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1