Last active 1 year ago

freshrss_update.sh Raw
1#!/bin/bash
2if [[ ! $(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
4else
5 echo "nope"
6fi