On Wed, 4 Mar 2009 21:01:36 +0000, kae@??? said:
Bugger. Missed off the $ signs:
> --------------------------------------------------------------------------------
> #!/bin/sh
> LOG="/usr/bin/logger -t mycronscript"
>
> cd /to/my/directory
>
> $LOG "Starting"
>
> for i in *.torrent
> do
> $LOG "Processing $i"
> /usr/bin/btdownloadcurses $i > /dev/null &
> done
> $LOG "Finished"
> --------------------------------------------------------------------------------
--
Keith Edmunds
+-------------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Specialists" | http://www.tiger-computing.co.uk |
+-------------------------------------------------------------------------+