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

Execute omr-schedule every minutes

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-16 12:48:14 +01:00
parent abe757bd00
commit 9cbeb186f9
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +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
echo "* * * * * /bin/omr-schedule" >> /etc/crontabs/root
fi