diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 223877dd..4dc517c7 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -478,7 +478,7 @@ SetCronTab() { # Remove OLD crontab -l >crontab.tmp - old=$(cat crontab.tmp | awk '/speedtest.sh/ {print FNR}') + old=$(cat crontab.tmp | awk '/speedtest/ {print FNR}') if [[ "$old" =~ ^[0-9]+$ ]]; then crontab -l | sed -e "${old}d" >crontab.tmp fi @@ -771,4 +771,4 @@ main() { if [[ $# = 0 ]]; then helpFunc fi -} \ No newline at end of file +}