From 09f224b7c499b58647c570dac8b7f8e209154268 Mon Sep 17 00:00:00 2001 From: Kwesi Banson Date: Mon, 28 Sep 2026 14:44:07 +0000 Subject: [PATCH] add sync as a background process --- info.md | 3 +++ routes/console.php | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/info.md b/info.md index 4e8d463..85296af 100644 --- a/info.md +++ b/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/' \ diff --git a/routes/console.php b/routes/console.php index 517b2ec..842ffc7 100644 --- a/routes/console.php +++ b/routes/console.php @@ -12,4 +12,9 @@ Artisan::command('inspire', function () { Schedule::command('subscriptions:sync')->hourly()->withoutOverlapping(); -//php artisan subscriptions:sync \ No newline at end of file +//php artisan subscriptions:sync + + +Schedule::command('subscriptions:sync') + ->everySixHours() + ->withoutOverlapping(); \ No newline at end of file