public function registerSchedule($schedule) { /** @var Schedule $schedule */ $schedule->command('klubitus:facebookimport --save')->everyTenMinutes()->when(function () { return (bool) CalendarSettings::get('facebook_import_enabled'); })->sendOutputTo(Application::getInstance()->storagePath() . '/logs/facebook_import.log'); }
/** * Unset the value at a given offset. * * @param string $key * @return void * @static */ public static function offsetUnset($key) { //Method inherited from \Illuminate\Container\Container \October\Rain\Foundation\Application::offsetUnset($key); }