🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #270952

Re: hermetix.org needing electro-shock therapy

#270952
From: elvis-85503
Date: Sat, 08 Nov 2014 23:39
22 lines
1695 bytes
> #!/bin/bash
> # mixcheck.sh
> # Script to see if mixmaster is running
> #
>
> #test if mixmaster running
> if [[ ! $(ps -ef) =~ "./mixmaster -D" ]]; then
>    cat "Mixmaster not running!" | mail -s "Mixmaster not running!" 
> you@youremail.net
> fi
>
> #test if mixmaster hung
> if [ $(find /home/mix/Mix/pool/ -mmin -60 | wc -l) -eq 0 ]; then
>    cat "Mixmaster - no new pool messages after 60 minutes - 
> mixmaster hung?" | mail -s "Mixmaster - no new pool messages - 
> mixmaster hung?" you@youremail.net
> fi
>
> exit 0


I don't think the [[]] test works and it uses cat where it means echo.
Technical Details
Message-ID: <slrnm5tad1.blj.elvis-85503@notatla.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141209.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!not-for-mail
References: <77f3a0f498475089530340ba21c2f9b9@dizum.com> <2c5c9a5284584359d56577785d7c7fbd@anonymitaet-im-inter.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnm5tad1.blj.elvis-85503@notatla.org.uk>
Subject: Re: hermetix.org needing electro-shock therapy
Date: Sat, 08 Nov 2014 23:39:13 +0000
From: elvis-85503@notatla.org.uk
References: <77f3a0f498475089530340ba21c2f9b9@dizum.com> <2c5c9a5284584359d56577785d7c7fbd@anonymitaet-im-inter.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141209.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!not-for-mail
Newsgroups: alt.privacy.anon-server
X-noarchive: yes
X-no-archive: yes
User-Agent: slrn/1.0.1 (Linux)
Lines: 22
NNTP-Posting-Host: e24cc996.blocknews.net
X-Trace: DXC=_U4mINN3T1Bln]gC]d5EQFGTXUl?iR^PL<X<c6\A078Bn9NRX8LADJBG3Y6l5GlWoNjDD]g:oiAgOMNd9NJH5T2KcMRVWSIDTBE
X-Complaints-To: abuse@blocknews.net
X-Received-Bytes: 1260
X-Received-Body-CRC: 1068699236