mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
checking latest version logging
This commit is contained in:
parent
09e1043c13
commit
95a2eab410
@ -56,7 +56,6 @@ class Kernel extends ConsoleKernel
|
||||
if(Ninja::isHosted()) {
|
||||
$schedule->job(new AdjustEmailQuota())->daily();
|
||||
$schedule->job(new SendFailedEmails())->daily();
|
||||
$schedule->job(new CheckDbStatus())->everyFiveMinutes();
|
||||
}
|
||||
/* Run queue's in shared hosting with this*/
|
||||
if (Ninja::isSelfHost()) {
|
||||
|
@ -36,6 +36,8 @@ class VersionCheck implements ShouldQueue
|
||||
{
|
||||
$version_file = file_get_contents(config('ninja.version_url'));
|
||||
|
||||
info("latest version = {$version_file}");
|
||||
|
||||
if ($version_file) {
|
||||
Account::whereNotNull('id')->update(['latest_version' => $version_file]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user