mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
fix(docker): updated pm2 environment variable name for CRON_SCHEDULE
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = {
|
|||||||
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
|
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
|
||||||
} --output=public/guide.xml`
|
} --output=public/guide.xml`
|
||||||
: 'npm run grab -- --channels=channels.xml --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,
|
instances: 1,
|
||||||
watch: false,
|
watch: false,
|
||||||
autorestart: false
|
autorestart: false
|
||||||
|
|||||||
Reference in New Issue
Block a user