updated cron script
This commit is contained in:
@@ -14,8 +14,7 @@ CRON_DIR="$WORKDIR/cron"
|
||||
# Navigate to the working directory
|
||||
cd "$WORKDIR" || { echo "Failed to change directory to $WORKDIR"; exit 1; }
|
||||
|
||||
# Execute notificationCleanup.js
|
||||
node --env-file=.env "$CRON_DIR/notificationCleanup.js"
|
||||
|
||||
# Execute archive.js
|
||||
node --env-file=.env "$CRON_DIR/archive.js"
|
||||
node --env-file=.env "$CRON_DIR/configUpdate.js"
|
||||
node --env-file=.env "$CRON_DIR/statusUpdate.js"
|
||||
|
||||
Reference in New Issue
Block a user