<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Did you<br>
<br>
export ZENDTOPREFS<br>
<br>
as it says you should? If you don't do that, programs run from the
shell can't read the environment variable you have set.<br>
<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 31/07/2015 20:40, <a class="moz-txt-link-abbreviated" href="mailto:bbrendon@gmail.com">bbrendon@gmail.com</a>
wrote:<br>
</div>
<blockquote
cite="mid:CADrfcdY9mj4SgnWzx0zsN36eBnpgkuy-7SMtXasEnUc0LU1HCw@mail.gmail.com"
type="cite">
<div dir="ltr">Looks like it doesn't work as described?
<div>also, /usr/local/share/ZendTo-4.12-5 is symlinked
to /usr/local/share/zendto so they are the same paths.<br>
<div><br>
</div>
<div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a> /usr/bin/php
$ZENDTO/sbin/cleanup.php</div>
<div>PHP Notice: Undefined index: ZENDTOPREFS in
/usr/local/share/ZendTo-4.12-5/sbin/cleanup.php on line 4</div>
<div><br>
</div>
<div> usage:</div>
<div><br>
</div>
<div> /usr/local/share/zendto/sbin/cleanup.php <ZendTo
preferences.php file></div>
<div><br>
</div>
<div> The ZendTo preferences.php file path should be
canonical, not relative.</div>
<div> Alternatively, do</div>
<div> export ZENDTOPREFS=<full file path of
preferences.php></div>
<div> /usr/local/share/zendto/sbin/cleanup.php</div>
<div><br>
</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a> echo ZENDTOPREFS</div>
<div>ZENDTOPREFS</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a> echo $ZENDTOPREFS</div>
<div>/usr/local/share/zendto/config/preferences.php</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a> ls -l
/usr/local/share/zendto/config/preferences.php</div>
<div>-rw-r--r-- 1 user root 15622 Jul 31 10:53
/usr/local/share/zendto/config/preferences.php</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a> echo $ZENDTO</div>
<div>/usr/local/share/zendto</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:root@myhost:/etc/cron.d#">root@myhost:/etc/cron.d#</a></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng MBCS CITP CEng
'All programs have a desire to be useful' - Tron, 1982
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</blockquote>
</body>
</html>