瀏覽代碼

Forgotten cron fix

https://github.com/FreshRSS/FreshRSS/pull/2208
Alexandre Alapetite 7 年之前
父節點
當前提交
6c423881d0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Docker/entrypoint.sh

+ 1 - 1
Docker/entrypoint.sh

@@ -6,7 +6,7 @@ chown -R :www-data .
 chmod -R g+r . && chmod -R g+w ./data/
 
 if [ -n "$CRON_MIN" ]; then
-	sed -r -i "\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" /var/spool/cron/crontabs/www-data
+	sed -r -i "\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" /var/spool/cron/crontabs/root
 fi
 
 exec "$@"