diff --git a/install1_temp.sh b/install1_temp.sh index fbfae44..9a4ca3c 100644 --- a/install1_temp.sh +++ b/install1_temp.sh @@ -40,5 +40,5 @@ mkdir stablediff cd stablediff wget https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh CRON_JOB="@reboot /home/anon/stablediff/webui.sh --listen --api" -(crontab -l 2>/dev/null | grep -Fxq "$CRON_JOB") || (echo "$CRON_JOB" | crontab -) +(sudo crontab -l 2>/dev/null | grep -Fxq "$CRON_JOB") || (echo "$CRON_JOB" | sudo crontab -) reboot now \ No newline at end of file