add sync as a background process
This commit is contained in:
3
info.md
3
info.md
@@ -26,6 +26,9 @@
|
|||||||
|
|
||||||
- rsync -avzP --delete \
|
- rsync -avzP --delete \
|
||||||
--exclude='.env' \
|
--exclude='.env' \
|
||||||
|
--exclude='.git' \
|
||||||
|
--exclude='.gitignore' \
|
||||||
|
--exclude='.gitattributes' \
|
||||||
--exclude='vendor/' \
|
--exclude='vendor/' \
|
||||||
--exclude='node_modules/' \
|
--exclude='node_modules/' \
|
||||||
--exclude='storage/logs/' \
|
--exclude='storage/logs/' \
|
||||||
|
|||||||
@@ -13,3 +13,8 @@ Artisan::command('inspire', function () {
|
|||||||
Schedule::command('subscriptions:sync')->hourly()->withoutOverlapping();
|
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