summaryrefslogtreecommitdiffstats
path: root/nextcloud-systemd-timer.service
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud-systemd-timer.service')
-rw-r--r--nextcloud-systemd-timer.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/nextcloud-systemd-timer.service b/nextcloud-systemd-timer.service
new file mode 100644
index 0000000..ccff38f
--- /dev/null
+++ b/nextcloud-systemd-timer.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Cron for nextcloud background jobs
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/php -f /usr/share/nextcloud/cron.php
+User=apache
+