最后活跃于 1 year ago

Liandri's Avatar Liandri 修订了这个 Gist 1 year ago. 转到此修订

1 file changed, 6 insertions

freshrss_update.sh(文件已创建)

@@ -0,0 +1,6 @@
1 + #!/bin/bash
2 + if [[ ! $(pgrep -f "php /var/www/rss.tld/app/actualize_script.php") ]]; then
3 + php /var/www/rss.tld/app/actualize_script.php >> /tmp/FreshRSS.log 2>&1
4 + else
5 + echo "nope"
6 + fi
上一页 下一页