diff --git a/encode b/encode index 6d0a25d..a0f30fe 100755 --- a/encode +++ b/encode @@ -73,7 +73,7 @@ rm "$file".?log # Schedule cron job m=${date:13:2} m=${m#0} h=${date:11:2} h=${h#0} D=${date:8:2} D=${D#0} M=${date:5:2} M=${M#0} -crontab -l || echo -e "# m h dom mon dow command\n" |crontab - +crontab -l >/dev/null || echo -e "# m h dom mon dow command\n" |crontab - line="$m $h $D $M "'*'" $repopath/stream '$name'" echo -e "$(crontab -l)\n$line" |crontab - diff --git a/uploadpage/index.html b/uploadpage/index.html index caf7c30..349079a 100644 --- a/uploadpage/index.html +++ b/uploadpage/index.html @@ -28,7 +28,7 @@ function respond(){