fix: env binding in oneshot and less output from dummy

This commit is contained in:
2023-12-09 09:58:49 +00:00
parent b589fb8f0c
commit 2eae19f64c
4 changed files with 25 additions and 18 deletions

View File

@@ -3,4 +3,7 @@
export WINGMATE_DUMMY_PATH=/usr/local/bin/wmdummy
export WINGMATE_LOG=/var/log/cron1.log
export WINGMATE_LOG_MESSAGE="cron executed in minute 5,10,15,20,25,30,35,40,45,50,55"
echo "I'm runnig with dummy=$WINGMATE_DUMMY_PATH, log=$WINGMATE_LOG and mesage=$WINGMATE_LOG_MESSAGE" >> /var/log/debug-cron.log
exec /usr/local/bin/wmoneshot