Better check

This commit is contained in:
Bob Mottram 2017-04-26 13:17:18 +01:00
parent 423bea11ad
commit 7b2366891c
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ function expire_gnusocial_posts {
chmod +x $gnusocial_expire_script
# Add a cron job
if ! grep -q "${gnusocial_type}_expire_script" /etc/crontab; then
if ! grep -q "${gnusocial_expire_script}" /etc/crontab; then
echo "10 3 5 * * root /usr/bin/timeout 500 ${gnusocial_expire_script}" >> /etc/crontab
fi