0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 19:16:09 +02:00
Commit graph

4 commits

Author SHA1 Message Date
Roland Vet
0c7ef56635 Replace crond with a while loop.
Adding the cron command to  /var/spool/cron/crontabs/www-data assumes
that cron, and by extension the nextcloud app, is run as 'www-data'.

'crond' cannot be used with:
exec "echo \"*/%%CRONTAB_INT%% * * * * php -f /var/www/html/cron.php\" | crontab - && crond -f -l 0 -L /dev/stdout"
because that assumes the uid used matches a entry in '/etc/passwd'.

Signed-off-by: Roland Vet <vet.roland@gmail.com>
2021-11-15 15:46:22 +01:00
Tilo Spannagel
5dbd0b220f
Make docker-cron.sh posix compliant 2018-03-15 17:40:03 +01:00
Tilo Spannagel
423e017e3b
Fix cron config 2018-01-30 17:49:10 +01:00
Tilo Spannagel
3747025dd6
Add cron.sh 2018-01-30 13:11:04 +01:00