gnusocial expire in crontab

This commit is contained in:
Bob Mottram 2017-04-05 12:49:37 +01:00
parent 5db30ada00
commit 5d1a670df7
1 changed files with 1 additions and 1 deletions

View File

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