File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -95,3 +95,6 @@ COMPOSER_HOME = "../../.cache/composer"
9595# # SERVER RESOURCE LIMITATION
9696DISK_SPACE_LIMIT = 107374182400
9797DISK_INODE_LIMIT = 400000
98+
99+ # # APPLICATION UPDATE
100+ AUTO_UPDATE = true
Original file line number Diff line number Diff line change 164164 'sentry_project ' => env ('SENTRY_PROJECT_ID ' ),
165165 'sentry_token ' => env ('SENTRY_AUTH_TOKEN ' ),
166166
167+ /*
168+ |--------------------------------------------------------------------------
169+ | Auto Update for Application and Composer Dependencies
170+ |--------------------------------------------------------------------------
171+ |
172+ | This option enables automatic updates for the application and composer
173+ | dependencies. Ensure that this is configured properly to avoid
174+ | unexpected issues during the update process.
175+ |
176+ */
177+ 'auto_update ' => env ('AUTO_UPDATE ' , true ),
178+
167179];
Original file line number Diff line number Diff line change 1414 ->withoutOverlapping ()
1515 ->runInBackground ()
1616 ->sentryMonitor ();
17+ if (config ('app.auto_update ' )) {
18+ Schedule::command ('simpede:update ' )->dailyAt ('1.00 ' )
19+ ->withoutOverlapping ()
20+ ->runInBackground ()
21+ ->timezone (config ('app.schedule_timezone ' ))
22+ ->sentryMonitor ();
23+ }
You can’t perform that action at this time.
0 commit comments