aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/websites/tools/cloud/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixops/modules/websites/tools/cloud/default.nix b/nixops/modules/websites/tools/cloud/default.nix
index 0c6d13d..f014776 100644
--- a/nixops/modules/websites/tools/cloud/default.nix
+++ b/nixops/modules/websites/tools/cloud/default.nix
@@ -43,5 +43,14 @@ in {
43 poolConfigs.nextcloud = nextcloud.phpFpm.pool; 43 poolConfigs.nextcloud = nextcloud.phpFpm.pool;
44 }; 44 };
45 45
46 services.cron = {
47 enable = true;
48 systemCronJobs = [
49 ''
50 LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
51 */15 * * * * wwwrun ${pkgs.php}/bin/php -f ${nextcloud.webRoot}/cron.php
52 ''
53 ];
54 };
46 }; 55 };
47} 56}