Browse Source

gnusocial expire in crontab

Bob Mottram 8 years ago
parent
commit
5d1a670df7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-gnusocialtools

+ 1
- 1
src/freedombone-utils-gnusocialtools View File

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