diff --git a/root/cronjob.sh b/root/cronjob.sh index b05241f..cace7b1 100755 --- a/root/cronjob.sh +++ b/root/cronjob.sh @@ -107,7 +107,7 @@ if [ "$use_plexAPI" = "yes" ]; then if [ -z "$plexUpdateURL" ]; then echo "no Plex credentials provided" else - $(echo "$plexUpdateUrl" | sed 's/\\/ /g' | sed "s/'/\"/g") + curl --location --request POST "$plexUpdateURL" sleep 1 fi fi