If you have Imagemagick installed in a strange place
cron may not be picking up your environment and may
not be able to find all the libraries when it runs. Try
surrounding your code with a shell script where you
can capture some debug output into a temporary file.
Craig
n6yxk
On Apr 1, 2008, at 4:04 PM, Dave H wrote:
Thanks Tom
I'll see about updating it - but probably wont be able to. I just
wonder why
cron isn't working -
when the command line is.
I've looked in the man pages for Imagemagick and cron and can't see
where
I'm going wrong.
I'm running convert from the full path.
I have read about someone using gnome-screengrab (or something like
that) as
an alternative
- they screen grabbed xwindow 0 image to home direectory then cron'd
ftp
upload.
Dave
G0CER
G6VSG
On 01/04/2008, Tom Russo <[EMAIL PROTECTED]> wrote:
On Tue, Apr 01, 2008 at 11:13:50PM +0100, we recorded a bogon-
computron
collision of the <[EMAIL PROTECTED]> flavor, containing:
I took a quick look at this today and found it produces
snapshot.xpm - I
had
a think and decided it might be nice to CRON a conversion from xpm
to
gif
and then cron the gif by ftp to a website regularly.
It is supposed also to produce snapshot.png if you have ImageMagick
installed
in such a way that Xastir's configure process can find it. Xastir
uses
ImageMagick to convert the xpm file to .png. That it isn't doing
that for
you
suggests there's something wrong with your install and ImageMagick
isn't
being found when it's built. The fall-back position to not having
ImageMagick
is to use the XPM library instead.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1
http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all
you get
is
one trick, rational thinking, but when you're good and crazy, oooh,
oooh,
oooh, the sky is the limit!" --- The Tick
--
Dave
G0CER
G6VSG used on Echolink
http://www.eQSL.cc/Member.cfm?G0CER
_______________________________________________
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
_______________________________________________
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir