From cff063b61aa0b94843e7918aaa797503dc5a6f88 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Wed, 2 Oct 2024 11:04:26 +0300 Subject: [PATCH] Update HostingSubscriptionBackup.php --- web/app/Models/HostingSubscriptionBackup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/Models/HostingSubscriptionBackup.php b/web/app/Models/HostingSubscriptionBackup.php index 33d5f3e..912006d 100644 --- a/web/app/Models/HostingSubscriptionBackup.php +++ b/web/app/Models/HostingSubscriptionBackup.php @@ -68,7 +68,7 @@ class HostingSubscriptionBackup extends Model } public function checkCronJob() - { + {/* $cronJobCommand = 'phyre-php /usr/local/phyre/web/artisan phyre:create-daily-full-hosting-subscriptions-backup'; $findCronJob = CronJob::where('command', $cronJobCommand)->first(); if (! $findCronJob) { @@ -77,7 +77,7 @@ class HostingSubscriptionBackup extends Model $cronJob->command = $cronJobCommand; $cronJob->user = 'root'; $cronJob->save(); - } + }*/ return true; }