It's been fun participaing in the FreeDOS development, but I think
it's time for me to retire from the mailing lists, and also sending
the monthly reminder emails.

Attached is the script I use to send the reminder, run by a cron job
on my Linux server. The error message (only sent if it can't download
the reminder message) is in the same vain as my main website's error
message at https://gcfl.net/missing.html (but much shorter). I thought
it was funny at the time. Use it, or don't.

I suggest that whomever wants to take this over coordinate with Jim
Hall first. Last thing he (or anyone really) wants is 15-20 reminder
emails a month, right?

It's been fun! Remember, Don't Panic!

So long, and thanks for all the fish!

John Price
jp_free...@gcfl.net
linuxg...@gcfl.net
jp31415...@gmail.com

-----------------------
#!/bin/bash

FROM=jp_free...@gcfl.net
TO=freedos-user@lists.sourceforge.net

TEXT=http://freedos.sourceforge.net/freedos/lists/remind.txt

cd ~/temp
rm -f remind.txt errors.txt
wget -O remind.txt $TEXT &> errors.txt

(
echo "From: John Price <$FROM>
Subject: New FreeDOSers Monthly Reminder
To: FreeDOS User Mailing List <$TO>

"

if [ -s remind.txt ]; then
  cat remind.txt
  echo "
  
  

/* This is an automated message sent out to the mailing list at the
first of each month.  It is automagically downloaded from 
$TEXT 

Feel free to contact John Price if necessary by replying to this
message. */
";


else


  echo "OOPS! The remind file could not be downloaded!

Here I am, brain the size of the universe, trying to send you a simple
email, but wouldn't you know it, the file doesn't even exist! Where
does that leave me?!

I'm sure it would say something about FreeDOS, or Jim Hall, or some
mailing list or other, but what do I care.

*sigh* Humans."


  if [ -s errors.txt ]; then
    echo "
In case you think you can fix this, here is the log:
"
    cat errors.txt
  else
    echo "
To make things worse, there was no error log produced. Good luck!"
  fi

fi
) | /usr/sbin/sendmail -t -f$FROM

-----------------------

-- 
If you think the problem is bad now, just wait until we've
solved it.

Have a great day and don't forget to laugh!

http://www.gcfl.net (The Good, Clean Funnies List): Good,
clean daily funnies you can safely tell your Mom!


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to