Enable Nextcloud CRON
This commit is contained in:
parent
72195f5d5c
commit
75bd610b36
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.cron = {
|
||||||
|
enable = true;
|
||||||
|
systemCronJobs = [
|
||||||
|
"*/5 * * * * root . /etc/profile; docker exec -u www-data nextcloud php /var/www/html/cron.php"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
sops.secrets."nextcloud/mysql_root_password" = {
|
sops.secrets."nextcloud/mysql_root_password" = {
|
||||||
owner = vars.user;
|
owner = vars.user;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue