[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: What is the best way of sending SMS message....
- From: Umer Abdul Ahad <umer gcs com au>
- To: redhat-install-list redhat com
- Subject: Re: What is the best way of sending SMS message....
- Date: Thu, 26 Jul 2001 09:16:05 +1000
Many thanks for your input Steve. I understand your suggestion, but I am
looking for more automated thing..........would you hapeen to know any
tool around which can do all of this.
Regards
Umer Abdul Ahad
Steve Fernandez wrote:
>
> Umer Abdul Ahad wrote:
>
> > Hello,
> >
> > I am in the prcoess of setting up a terminal which will monitor the power
> > and Internet connectivity. As soon as the power goes down or the link
> > goes down, the terminal will send out a sms message on the techs mobile
> > phone that the "problem has occured".
> >
> > I need help in coming up with the best way of sending sms message. The
> > process is somewhat like this :
> >
> > * Email arrives in /var/spool/mail/username
> > * Connect via dial up (that means auto dial)
> > * Send email to mobile as sms message.
> >
> > Any help will be greatly appreciated.
> >
> > Regards
> > Umer Abdul Ahad
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
> This can be done in C. First, create a timer to monitor the output of
> the command "ps ax", in which a process that is running depending on your
> inet link should be there. As long as the output of ps contains this task,
> do nothing. Now, if this process is absent - which implies your link is down
> - execute wvdial, and while the mail directory isn't empty, execute the
> command "sendmail -q" with an interval of a second or so. This is needed
> because wvdial takes some time for establishing the connection and
> handshake, authentication etc.
>
> Regards,
> Steve Fernandez.
>
> --
> Registered Linux user #211615
> Registered Linux machine #98619
>
> "I am not young enough to know everything."
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]