芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Console/Kernel.php
command('activitylog:clean')->daily(); //Clean older activity logs // $schedule->command('incevio:kpi')->dailyAt('23:58'); // $schedule->command('backup:clean')->daily()->at('01:00'); // $schedule->command('backup:run')->daily()->at('02:00'); // $schedule->command('backup:monitor')->daily()->at('03:00'); // Generate sitemap command $this->sitemapCommand($schedule); // Keep the queue worker alive $schedule->command('worker:weakup')->everyFifteenMinutes() ->runInBackground()->withoutOverlapping(); // Check local subscription expiry and charge if (is_subscription_enabled() && SystemConfig::isBillingThroughWallet()) { // $time = (int) config('subscription.default.charge_min_before_expiry') - 1; $schedule->command('subscription:recheck')->hourly(); } // Reset demo content for demo hosting if (config('app.demo') == true) { $schedule->command('incevio:reset-demo --sql')->twiceDaily(1, 13); //Reset the demo applcoation } // Re-evaluate ratings for models $schedule->command('incevio:evaluate-ratings')->daily(); // remove cart table old data $schedule->command('incevio:clean-cart-table')->twiceDaily(1, 13); // Pull orders from eBay if (is_incevio_package_loaded('ebay')) { $schedule->command('incevio:ebay-pull-orders')->hourly(); } // Update currency rates if (is_incevio_package_loaded('dynamic-currency')) { $currency_mode = System::value('update_currency_rate_at'); if ($currency_mode != null) { if ($currency_mode == 0) { $schedule->command('incevio:currency-rate-update')->everyFiveMinutes(); } else { $schedule->command('incevio:currency-rate-update')->hourlyAt($currency_mode); } } } // Wallet order payment scrow time and release payment. if (is_incevio_package_loaded('wallet')) { $schedule->command('wallet:release-payment')->daily(); if (is_wallet_credit_reward_enabled()) { $schedule->command('wallet:release-rewards')->daily(); } } if (is_incevio_package_loaded('affiliate')) { $schedule->command('affiliate:release-commissions')->daily(); } // Auction check and process. Runes every hour if (is_incevio_package_loaded('auction')) { $schedule->command('incevio:auction')->hourly(); } } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } /** * Register the Generate sitemap commands for the sitemap.xml. * * @return void */ private function sitemapCommand(Schedule $schedule) { $interval = in_array(config('seo.sitemap.update'), ['hourly', 'daily', 'weekly', 'monthly', 'yearly']) ? config('seo.sitemap.update') : 'daily'; $schedule->command('seo:generate-sitemap')->$interval(); } }