Regarding your cron entry not working, I find it's usually safest to write a script into a file (even if it's a one-liner) and then only call the script from cron. It tends to be much happier. So one extra file is needed as follows:
~/scripts/convertimage.sh: #!/bin/bash #bash happens to be my preferred shell /usr/bin/convert path/to/xpm path/to/gif <end file> chmod a+x ~/scripts/convertimage.sh crontab: */20 * * * * path_to_convertimage.sh --- Dave H <[EMAIL PROTECTED]> 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 > ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir