Current state with latest updates
This commit is contained in:
+9
-1
@@ -192,7 +192,7 @@ Schedule::command('nova:recalculate-heat')
|
||||
// active scheduler in this app is defined in routes/console.php, not Kernel.
|
||||
|
||||
// Generate static sitemap XML files that nginx can serve directly without PHP.
|
||||
// The generate command writes public/sitemap.xml + public/sitemaps/{name}.xml.
|
||||
// The generate command writes public/sitemaps/sitemap.xml + public/sitemaps/{name}.xml.
|
||||
Schedule::command('skinbase:sitemaps:generate')
|
||||
->cron('30 10,22 * * *')
|
||||
->name('sitemaps-generate')
|
||||
@@ -211,6 +211,14 @@ Schedule::command('skinbase:sitemaps:validate')
|
||||
->withoutOverlapping()
|
||||
->runInBackground();
|
||||
|
||||
if ((bool) config('security-report.enabled', true)) {
|
||||
Schedule::command('security:scan --notify')
|
||||
->weeklyOn(1, '05:15')
|
||||
->name('security-report-weekly-scan')
|
||||
->withoutOverlapping()
|
||||
->runInBackground();
|
||||
}
|
||||
|
||||
// Keep the old release-pipeline cleanup running so stale release artifacts are pruned.
|
||||
|
||||
Schedule::job(new \App\Jobs\Sitemaps\CleanupSitemapReleasesJob())
|
||||
|
||||
Reference in New Issue
Block a user