From aa32724da646a3791686cd7eefb2b54724ce3eb4 Mon Sep 17 00:00:00 2001 From: dimon Date: Tue, 14 Feb 2023 21:07:18 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB(=D0=B0)=20?= =?UTF-8?q?'nextcloud-cron.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nextcloud-cron.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nextcloud-cron.sh diff --git a/nextcloud-cron.sh b/nextcloud-cron.sh new file mode 100644 index 0000000..b7a6156 --- /dev/null +++ b/nextcloud-cron.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +i=1 +while [ "$i" -ne 0 ] +do + su -c 'php -f /var/www/html/cron.php --define apc.enable_cli=1' www-data + sleep 300 +done \ No newline at end of file