Ctrl K
ComunidadGuías…

bin/cron

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/usr/bin/env bash
# This script is executed as part of a cronjob task
# is already run as www-data or any other web user.

set -euo pipefail

DIR=$(dirname "$(readlink -f "$0")")

"$DIR"/cake passbolt email_digest send


currenttime=$(date +%H:%M)
if [ "$currenttime" = "08:00" ]; then
    "$DIR"/cake passbolt notify_about_expired_resources
fi