fix: Remove intensive tasks by default from scheduled maintenance
This commit is contained in:
parent
57779b538a
commit
d31dfd5d66
1 changed files with 4 additions and 2 deletions
6
copy.sh
6
copy.sh
|
@ -6,8 +6,10 @@ for i in ./*.sh; do
|
|||
i_tmp="${i##./}"
|
||||
find /etc/cron.* -iname "${i_tmp%.sh}" | while read -r j; do
|
||||
echo "${j}"
|
||||
diff <(sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/1\:-\"0\"/1\:-\"1\"/g" -e "s/#&>/\&\>/g" "${i}") "${j}"
|
||||
sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/1\:-\"0\"/1\:-\"1\"/g" -e "s/#&>/\&\>/g" "${i}" | sudo tee "${j}" &>/dev/null
|
||||
#diff <(sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/1\:-\"0\"/1\:-\"1\"/g" -e "s/#&>/\&\>/g" "${i}") "${j}"
|
||||
#sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/1\:-\"0\"/1\:-\"1\"/g" -e "s/#&>/\&\>/g" "${i}" | sudo tee "${j}" &>/dev/null
|
||||
diff <(sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/#&>/\&\>/g" "${i}") "${j}"
|
||||
sed -e "s/friendica.example.net/hub.azkware.net/g" -e "s/#&>/\&\>/g" "${i}" | sudo tee "${j}" &>/dev/null
|
||||
done
|
||||
find ../../Scripts -iname "${i_tmp}" | while read -r k; do
|
||||
echo "${k}"
|
||||
|
|
Loading…
Add table
Reference in a new issue