Skip to content

Commit

Permalink
Run updater on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed Oct 7, 2024
1 parent 392e198 commit 8807ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/util/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { UPDATER_CRON_ENABLED, inDevelopment } from '../../config'
const setupCron = async () => {
logger.info('Starting cron jobs')

if (inDevelopment) {
if (true || inDevelopment) {
await runUpdater()
} else if (UPDATER_CRON_ENABLED) {
cron.schedule('45 0,12 * * *', runUpdater) // Run updater every 12 hours
Expand Down

0 comments on commit 8807ddb

Please sign in to comment.