Skip to content

Commit 861e8d8

Browse files
Update scheduled commands to run in the background and adjust backup time
1 parent 3708d79 commit 861e8d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

routes/console.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99
if (config('app.auto_update')) {
1010
Schedule::command('simpede:update')->dailyAt('01:00')
1111
->withoutOverlapping()
12+
->runInBackground()
1213
->timezone(config('app.schedule_timezone'))
1314
->sentryMonitor();
1415
}
1516
Schedule::command('db:optimize')->monthlyOn(1, '02:00')
1617
->withoutOverlapping()
1718
->timezone(config('app.schedule_timezone'))
1819
->sentryMonitor();
19-
Schedule::command('simpede:backup')->dailyAt('17:30')
20+
Schedule::command('simpede:backup')->dailyAt('18:30')
2021
->withoutOverlapping()
22+
->runInBackground()
2123
->timezone(config('app.schedule_timezone'))
2224
->sentryMonitor();

0 commit comments

Comments
 (0)