add sync as a background process

This commit is contained in:
Kwesi Banson
2026-09-28 14:44:07 +00:00
parent ebf11d38ed
commit 09f224b7c4
2 changed files with 9 additions and 1 deletions

View File

@@ -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/' \

View File

@@ -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();