partage public
This commit is contained in:
commit
a368f25d59
43 files changed
+5480
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
LOGFILE=/shared/meutel/fetchmail.log
|
||||
|
||||
# check fetchmail running as daemon
|
||||
|
||||
if [ ! `pgrep fetchmail` ]; then
|
||||
echo "fetchmail is not running"
|
||||
fi
|
||||
|
||||
# check error in log
|
||||
grep -3 error $LOGFILE
|
||||
|
||||
# clear log
|
||||
echo > $LOGFILE
|
||||
Reference in new issue
Block a user