gnusocial expire in crontab
This commit is contained in:
parent
5db30ada00
commit
5d1a670df7
|
@ -328,7 +328,7 @@ function expire_gnusocial_posts {
|
|||
|
||||
# Add a cron job
|
||||
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
|
||||
|
||||
# remove old expire script
|
||||
|
|
Loading…
Reference in New Issue