Merge pull request #2811 from Aandree5/pm2-cron

fix(docker): updated `pm2` environment variable name for `CRON_SCHEDULE`
This commit is contained in:
PopeyeTheSai10r
2025-07-13 19:17:13 -07:00
committed by GitHub

View File

@@ -14,7 +14,7 @@ module.exports = {
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
} --output=public/guide.xml`
: 'npm run grab -- --channels=channels.xml --output=public/guide.xml',
cron_restart: process.env.CRON || null,
cron_restart: process.env.CRON_SCHEDULE || null,
instances: 1,
watch: false,
autorestart: false