On Wed, 15 Apr 2009, Curt, WE7U wrote:

On Wed, 15 Apr 2009, James Ewen wrote:
It sounds like all Jim needs to do, is to have Xastir save a snapshot
every 5 minutes, and then have a cron job set up that copies the
latest image to a storage directory, renaming the file (possibly with
a timestamp) when it moves it.

Something like;

#!/bin/sh

RIGHTNOW=`date +%Y%M%d%H%M`

if [ -f 'snapshot.jpg' ]; then
        mv snapshot.jpg archive/snapshot-$RIGHTNOW.jpg
fi



Carl.
(vk1kcm)

_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to