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
4
omr-schedule/files/etc/uci-defaults/3000-omr-schedule
Executable file
4
omr-schedule/files/etc/uci-defaults/3000-omr-schedule
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep omr-schedule)" = "" ]; then
|
||||
echo "*/5 * * * * /bin/omr-schedule" >> /etc/crontabs/root
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue