add sync as a background process
This commit is contained in:
3
info.md
3
info.md
@@ -26,6 +26,9 @@
|
||||
|
||||
- rsync -avzP --delete \
|
||||
--exclude='.env' \
|
||||
--exclude='.git' \
|
||||
--exclude='.gitignore' \
|
||||
--exclude='.gitattributes' \
|
||||
--exclude='vendor/' \
|
||||
--exclude='node_modules/' \
|
||||
--exclude='storage/logs/' \
|
||||
|
||||
@@ -12,4 +12,9 @@ Artisan::command('inspire', function () {
|
||||
|
||||
Schedule::command('subscriptions:sync')->hourly()->withoutOverlapping();
|
||||
|
||||
//php artisan subscriptions:sync
|
||||
//php artisan subscriptions:sync
|
||||
|
||||
|
||||
Schedule::command('subscriptions:sync')
|
||||
->everySixHours()
|
||||
->withoutOverlapping();
|
||||
Reference in New Issue
Block a user