On Wed, 4 Mar 2009 21:01:36 +0000, k...@midnighthax.com 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      |
+-------------------------------------------------------------------------+

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to