Go to file
2023-06-20 18:29:30 +02:00
.gitignore Initial commit 2022-05-22 11:45:24 +02:00
19-apcu-enab.ini Add ACPu enabler 2023-06-20 18:29:30 +02:00
cloud-cron.service Initial commit 2022-05-22 11:45:24 +02:00
cloud-cron.timer Initial commit 2022-05-22 11:45:24 +02:00
install.sh Set install script to new run_directory norm 2022-09-22 18:49:05 +02:00
README.md Add ACPu enabler 2023-06-20 18:29:30 +02:00

Nextcloud's cron job timer

This repository contains Systemd service and timer basic units to run Nextcloud's own cron job regularly (as recommended in the official documentation).

IMPORTANT

For the cron job to execute correctly, APCu must be enabled. This not the case by default. You need to add 19-apcu-enab.ini to /etc/php/<version>/cli/conf.d/. This is not done by install script (as it would not sustain after a PHP version upgrade).

Files

  • 19-apcu-enab.ini is a config file to enable ACPu in PHP
  • cloud-cron.service is the service file executing Nextcloud's PHP cron job
  • cloud-cron.timer is the timer starting the service every 5 minutes

Installation

  • install.sh script copies Systemd units to their destination, and enables timer.

TODO

  • RAS