mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
Update HostingSubscriptionBackup.php
This commit is contained in:
parent
4ca4c7b04a
commit
cff063b61a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue