Change the Start Script and Added NODE_ENV to the env vars also for the dockerized Version

This commit is contained in:
2025-11-03 00:33:23 +00:00
parent 1c6aad0f3a
commit 5cdfd0f2e3
3 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,3 @@ SHELL=/bin/bash
MAILTO=""
0 8 * * * root . /etc/cron-env.sh && /opt/app/run-task.sh --today >> /proc/1/fd/1 2>&1
*/15 * * * * root . /etc/cron-env.sh && /opt/app/run-task.sh >> /proc/1/fd/1 2>&1
* * * * * root echo "cron test ran at $(date)" >> /proc/1/fd/1 2>&1

View File

@@ -7,6 +7,7 @@ chmod +x /etc/cron-env.sh
# Write the Env Vars into a file for cron. happens during runtime of the container and not build.
# List your environment variables here
env_vars=(
NODE_ENV
TZ
DB_FILEPATH
DB_FILENAME