浏览代码

Run at a lower frequency to avoid occupying the database too much

Bob Mottram 7 年前
父节点
当前提交
f724959e98
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-pleroma

+ 1
- 1
src/freedombone-app-pleroma 查看文件

92
     chmod +x $blocking_script_file
92
     chmod +x $blocking_script_file
93
 
93
 
94
     if ! grep -q "$blocking_script_file" /etc/crontab; then
94
     if ! grep -q "$blocking_script_file" /etc/crontab; then
95
-        echo "*/1            * *   *   *   root $blocking_script_file > /dev/null" >> /etc/crontab
95
+        echo "*/2            * *   *   *   root $blocking_script_file > /dev/null" >> /etc/crontab
96
     fi
96
     fi
97
 }
97
 }
98
 
98