git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2379 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
9 lines
352 B
Bash
Executable File
9 lines
352 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"
|
|
echo "Ou supprimer le fichier /tmp/check-bloque residuel"
|
|
fi
|