PSN-L Email List Message

Subject: Automatic E-mailed earthquake files.
From: Arie Verveer ajbv@............
Date: Tue, 31 Aug 1999 14:08:20 +0800


Hi

Lately I've been working on a way to send the "SDR" quake files automatically via email.
The  reason is,  my station is located in a basement some 11 km from home and that meant
a   weekend trip to  "SDR" to retrieve the data.  Anyhow the following method has been
developed to "check and send" any new "SDR" quake files on the hour, to an e-mail
address.

1)
You need a "SDR" logging computer networked to a another computer. That computer
has to be connected to a "ISP" via a modem or some other network connection.

2)
Set-up "SDR" to save the event files to the networked computer as per "Winquake"
instructions.

On the network computer I installed some server software for "windows" called
"Sambar 4.2.9"  It runs in the background and is so easy to install. There is a
charge to get  the professional version. (professional - mail, ftp, tenet ) servers.

The rest is easy;  set-up the server scheduler to run a "CGI" on the hour. This "CGI"
is essentially a small program that checks the "SDR" files and looks for a new entry.
If data is found, it's e-mailed via  a server program called "mailit.exe".

This a "DOS" program that can send email. This "mailit.exe"  program  sends the e-mail
to the server mailing program and that in turn sends it to e-mail address. It's done this way
so you could "forward" the mail to other interested people.

I have a permanent "mail" connection to the internet world via the networked computer.
But the server software allows for "Dial-On-Demand".

You must have some familiarity with "TCP/IP" to get things going. If anyone's interested then
I can send you the source "C" code for the "CGI". Its really simple.The code is first draft and

can be improved.

It should be remembered that the e-mailed data is "RAW" data and may only be a  false trigger.
Also I'm working on a variant of this "CGI" for quick notification. But that is very specific
and
involves another computer(?).


Regards

Arie

ajbv@............


_____________________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]

Larry Cochrane <cochrane@..............>