Expire gnusocial posts monthly
This commit is contained in:
parent
c62d9cbcf3
commit
238a7fbc92
|
@ -8979,7 +8979,7 @@ function expire_gnu_social_posts {
|
|||
|
||||
# Add a cron job
|
||||
if ! grep -q "$gnusocial_expire_script" /etc/crontab; then
|
||||
echo "10 3 * * * root /usr/bin/timeout 500 /usr/bin/php $gnusocial_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