Ah..ok! :)<br><br><br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 4:42 PM, Anthony Peacock <span dir="ltr"><<a href="mailto:a.peacock@chime.ucl.ac.uk">a.peacock@chime.ucl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Kai Schaetzl wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Zaeem Arshad wrote on Thu, 18 Jun 2009 14:19:48 +0600:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just a thought that wget_location = `which wget` do the same thing making<br>
it independent?<br>
</blockquote>
<br>
which may not be on the path or wget may not be in the path so it cannot be found by which. That's why this solution was introduced in the first place.<br>
</blockquote>
<br></div>
Exactly. The reason I originally suggested this change was because wget is not on the path for cron jobs on my server. So the suggestion to use `which wget` would fail in exactly the same way the original script failed for me.<div class="im">
<br>
<br>
-- <br>
Anthony Peacock<br>
CHIME, UCL Medical School<br>
WWW: <a href="http://www.chime.ucl.ac.uk/%7Ermhiajp/" target="_blank">http://www.chime.ucl.ac.uk/~rmhiajp/</a><br>
Study Health Informatics - Modular Postgraduate Degree<br>
<a href="http://www.chime.ucl.ac.uk/study-health-informatics/" target="_blank">http://www.chime.ucl.ac.uk/study-health-informatics/</a><br>
-- <br></div><div><div></div><div class="h5">
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! <br>
</div></div></blockquote></div><br>