<div dir="ltr">Looks like it doesn&#39;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>root@myhost:/etc/cron.d# /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 &lt;ZendTo preferences.php file&gt;</div><div><br></div><div>   The ZendTo preferences.php file path should be canonical, not relative.</div><div>   Alternatively, do</div><div>     export ZENDTOPREFS=&lt;full file path of preferences.php&gt;</div><div>     /usr/local/share/zendto/sbin/cleanup.php</div><div><br></div><div>root@myhost:/etc/cron.d# echo ZENDTOPREFS</div><div>ZENDTOPREFS</div><div>root@myhost:/etc/cron.d# echo $ZENDTOPREFS</div><div>/usr/local/share/zendto/config/preferences.php</div><div>root@myhost:/etc/cron.d# 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>root@myhost:/etc/cron.d# echo $ZENDTO</div><div>/usr/local/share/zendto</div><div>root@myhost:/etc/cron.d#</div></div></div></div>