1 |
diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/crontab/98nextcloud |
2 |
--- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud 2018-03-31 01:20:12.000000000 -0400 |
3 |
+++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/crontab/98nextcloud 2019-01-16 21:39:11.151000000 -0500 |
4 |
@@ -1 +1,5 @@ |
5 |
-*/15 * * * * www scl enable php71 'php -f /usr/share/nextcloud/cron.php > /dev/null 2>&1' |
6 |
+# nextcloud cron |
7 |
+*/15 * * * * www scl enable php71 'php --define memory_limit=512M -f /usr/share/nextcloud/cron.php > /dev/null 2>&1' |
8 |
+ |
9 |
+# nextcloud db update |
10 |
+19 2 * * * www cd /usr/share/nextcloud ; echo 'y' | scl enable php71 'php --define memory_limit=512M occ db:convert-filecache-bigint > /dev/null 2>&1' |