🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: hermetix.org needing electro-shock therapy

#270955
From: Anonymous Remailer (austria)
Date: Sun, 09 Nov 2014 01:44
44 lines
2018 bytes
> #!/bin/bash
> # mixcheck.sh
> # Script to see if mixmaster is running
> #

> #test if mixmaster running
> cat "Mixmaster not running!" | mail -s "Mixmaster not running!"
> you@youremail.net
> fi

> #test if mixmaster hung
> 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

  Dang!  Your right.  I am so used to 'cat'ing a file rather than a 
string, I forgot and used incorrectly cat "data".  That is what I 
get for typing it from memory.

Script:
#!/bin/bash
# mixcheck.sh
# Script to see if mixmaster is running
#

#test if mixmaster running
if [ ! $(ps -ef) =~ "./mixmaster -D" ]; then
   echo "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
   echo "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
Technical Details
Message-ID: <92f014af9b5b83627c9d66ca4da6f1f2@remailer.privacy.at>
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!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
References: <slrnm5tad1.blj.elvis-85503@notatla.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <92f014af9b5b83627c9d66ca4da6f1f2@remailer.privacy.at>
Subject: Re: hermetix.org needing electro-shock therapy
Date: Sun, 09 Nov 2014 01:44:15 +0000
From: "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
References: <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!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 43