Skip to content
Snippets Groups Projects
Commit 5232ddb3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Append

parent bbfa6d35
No related branches found
No related tags found
No related merge requests found
......@@ -551,8 +551,8 @@ function expire_gnusocial_posts {
gnusocial_expire_script=/usr/bin/${gnusocial_type}-expire
echo '#!/bin/bash' > $gnusocial_expire_script
echo "/usr/bin/php $gnusocial_expire_posts_script" > $gnusocial_expire_script
echo "find /var/www/${domain_name}/htdocs/file/* -mtime +${expire_days} -exec rm {} +" > $gnusocial_expire_script
echo "/usr/bin/php $gnusocial_expire_posts_script" >> $gnusocial_expire_script
echo "find /var/www/${domain_name}/htdocs/file/* -mtime +${expire_days} -exec rm {} +" >> $gnusocial_expire_script
chmod +x $gnusocial_expire_script
# Add a cron job
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment