Última actividad 1 year ago

Liandri's Avatar Liandri revisó este gist 1 year ago. Ir a la revisión

1 file changed, 6 insertions

freshrss_update.sh(archivo creado)

@@ -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
Siguiente Anterior