nix/host/home/bin/Nextcloud

9 lines
202 B
Plaintext
Raw Normal View History

2024-03-04 12:37:20 +03:00
#!/usr/bin/env bash
# Source modules.
2024-03-24 16:04:07 +03:00
for file in ${BASH_PATH}/module/*.sh; do
2024-03-04 12:37:20 +03:00
source "${file}"
done
docker exec -u 33 cloud php -f /var/www/html/cron.php || notify 'Nextcloud : Failed to run cron.'