Update gnusocial hourly script
This commit is contained in:
parent
38474b8948
commit
a915812150
|
@ -236,6 +236,10 @@ function gnusocial_running_script {
|
||||||
echo " cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/gnusocial-daemons
|
echo " cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/gnusocial-daemons
|
||||||
echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/gnusocial-daemons
|
echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
echo 'fi' >> /etc/cron.hourly/gnusocial-daemons
|
echo 'fi' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
|
echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
|
echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
|
echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
|
echo 'php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/gnusocial-daemons
|
||||||
chmod +x /etc/cron.hourly/gnusocial-daemons
|
chmod +x /etc/cron.hourly/gnusocial-daemons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue