Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2021-01-18 02:03:01 +0300
committernachoparker <nacho@ownyourbits.com>2021-01-18 06:11:06 +0300
commit6cb682abe278289f096942cd43630b132123dba5 (patch)
treeab957bf338b2a3c782d4b39de74fbe69af2094cb
parent20bd14fe7bf04f1acba968f017b7a433c5f179e1 (diff)
update cron intervalv1.34.3
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--bin/ncp/CONFIG/nc-nextcloud.sh2
-rw-r--r--changelog.md6
-rw-r--r--updates/1.37.0.sh (renamed from updates/1.35.0.sh)8
3 files changed, 13 insertions, 3 deletions
diff --git a/bin/ncp/CONFIG/nc-nextcloud.sh b/bin/ncp/CONFIG/nc-nextcloud.sh
index de5f45a2..734a3aaa 100644
--- a/bin/ncp/CONFIG/nc-nextcloud.sh
+++ b/bin/ncp/CONFIG/nc-nextcloud.sh
@@ -246,7 +246,7 @@ max_input_time=$MAXTRANSFERTIME
EOF
## SET CRON
- echo "*/15 * * * * php -f /var/www/nextcloud/cron.php" > /tmp/crontab_http
+ echo "*/5 * * * * php -f /var/www/nextcloud/cron.php" > /tmp/crontab_http
crontab -u www-data /tmp/crontab_http
rm /tmp/crontab_http
diff --git a/changelog.md b/changelog.md
index e42dae59..6e283911 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,7 +1,9 @@
-[v1.33.2](https://github.com/nextcloud/nextcloudpi/commit/a975b0c) (2021-01-17) wizard: fix letsencrypt empty email
+[v1.33.3](https://github.com/nextcloud/nextcloudpi/commit/863d91f) (2021-01-17) update cron interval
-[v1.33.1](https://github.com/nextcloud/nextcloudpi/commit/42fd597) (2020-12-12) nc-update-nc: improve error messages
+[v1.33.2](https://github.com/nextcloud/nextcloudpi/commit/8e2d639) (2021-01-17) wizard: fix letsencrypt empty email
+
+[v1.33.1 ](https://github.com/nextcloud/nextcloudpi/commit/42fd597) (2020-12-12) nc-update-nc: improve error messages
[v1.33.0](https://github.com/nextcloud/nextcloudpi/commit/ffd0b44) (2020-12-10) upgrade to NC20.0.3
diff --git a/updates/1.35.0.sh b/updates/1.37.0.sh
index bb24a126..f8271b49 100644
--- a/updates/1.35.0.sh
+++ b/updates/1.37.0.sh
@@ -8,8 +8,16 @@ source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
# all images
+## fix raspbian origin
is_active_app unattended-upgrades && run_app unattended-upgrades
+## reduce cron interval to 5 minutes
+crontab_tmp=$(mktemp -u -t crontab-www.XXXXXX)
+echo "*/5 * * * * php -f /var/www/nextcloud/cron.php" > "${crontab_tmp}"
+crontab -u www-data "${crontab_tmp}"
+rm "${crontab_tmp}"
+
+
# docker images only
[[ -f /.docker-image ]] && {
: