1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Move some script to cron instead of omr-tracker

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-08 15:38:20 +01:00
parent 2a0beebe74
commit 80f2c3151a
6 changed files with 82 additions and 27 deletions

View file

@ -0,0 +1,10 @@
#!/bin/sh
for schedule_bin in /usr/share/omr/schedule.d/*; do
[ -x "$schedule_bin" ] && (
_log() {
logger -t "omr-schedule-${schedule_bin##*/}" "$*"
}
. "$schedule_bin" 2>&1
)
done