IsEnabled()) { $bbb = new bbb(); if ($bbb->plugin_enabled) { $activeSessions = $bbb->getActiveSessionsCount(); if (empty($activeSessions)) { $vm->runCron(); } else { echo "Can't run cron active sessions found: " . $activeSessions; } } } }