Files
Domcheck/supercheck
2014-08-08 07:49:49 +00:00

8 lines
292 B
Bash
Executable File

#!/bin/bash
if [ ! -f "/tmp/check.heartbeat" ] || [ `stat -c "%Y" "/tmp/check.heartbeat"` -lt `date -d '12 hours ago' '+%s'` ]; then
echo "### Check est désactivé ! ###"
echo "Pour supprimer cet avertissement, commenter la ligne dans le fichier "
echo "/etc/cron.d/supercheck"
fi