Reduce pleroma blocking script frequency to 1 min
This commit is contained in:
parent
1dd303da3d
commit
d8bd3eeeff
|
@ -97,7 +97,7 @@ function create_pleroma_blocklist {
|
||||||
chmod +x $blocking_script_file
|
chmod +x $blocking_script_file
|
||||||
|
|
||||||
if ! grep -q "$blocking_script_file" /etc/crontab; then
|
if ! grep -q "$blocking_script_file" /etc/crontab; then
|
||||||
echo "*/2 * * * * root $blocking_script_file > /dev/null" >> /etc/crontab
|
echo "*/1 * * * * root $blocking_script_file > /dev/null" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue