nix/host/home/bin/Nextcloud

9 lines
199 B
Plaintext
Raw Normal View History

2024-03-04 12:37:20 +03:00
#!/usr/bin/env bash
# Source modules.
2024-03-21 00:31:45 +03:00
for file in /etc/bash/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.'