Automatically adds --db to ais.inputs.run if and only if /etc/ais/databse exists
[ais.git] / cron / vesseltracker.cron
1 #!/bin/bash
2 DATAFILE=/var/lib/ais/vesseltracker/`date -u +%Y-%m-%dT%H:%M:%S`.kmz
3 wget -q http://www.vesseltracker.com:80/earth/publicdata.kmz -O $DATAFILE
4