replaced /etc/environment with /etc/cron-env.sh to work with cron

This commit is contained in:
chiko committed 2025-10-22 19:10:04 +02:00
1 parent 4e21b1372f
commit 5546d5511e
3 files changed
+39 -19

No files matched your search

+5 -2
View File
@@ -1,2 +1,5 @@
0 8 * * * root /opt/app/run-task.sh --today
*/15 * * * * root /opt/app/run-task.sh
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