Script for emailing result from GPS

Hi,

Anyone have a script or can help writing a script to accomplish the following:

Goal: Nema GPS attached to Com port and every 5 mins e-mail the gps monitor to an email
address.

[admin@Routerbox] > /system gps monitor
date-and-time: feb/25/2005 23:55:54
longitude: W 76 19’ 8’’
latitude: N 38 59’ 2’’
altitude: 5.791200m
speed: 0.000000 km/h
valid: no

I want the output e-mail to gpsresult@domain.com


Thanks in advance.

See the following threads:
http://www.mikrotik.com/forum/viewtopic.php?t=1588

  • how to send e-mails

The following variables are available:
Global Variables
Local Variables
date-and-time
latitude
altitude
longitude
valid
speed