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:
parent
2a0beebe74
commit
80f2c3151a
6 changed files with 82 additions and 27 deletions
10
omr-schedule/files/bin/omr-schedule
Executable file
10
omr-schedule/files/bin/omr-schedule
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue