[ZendTo] problem with ZENDTOPREFS
bbrendon at gmail.com
bbrendon at gmail.com
Fri Jul 31 20:40:59 BST 2015
Looks like it doesn't work as described?
also, /usr/local/share/ZendTo-4.12-5 is symlinked
to /usr/local/share/zendto so they are the same paths.
root at myhost:/etc/cron.d# /usr/bin/php $ZENDTO/sbin/cleanup.php
PHP Notice: Undefined index: ZENDTOPREFS in
/usr/local/share/ZendTo-4.12-5/sbin/cleanup.php on line 4
usage:
/usr/local/share/zendto/sbin/cleanup.php <ZendTo preferences.php file>
The ZendTo preferences.php file path should be canonical, not relative.
Alternatively, do
export ZENDTOPREFS=<full file path of preferences.php>
/usr/local/share/zendto/sbin/cleanup.php
root at myhost:/etc/cron.d# echo ZENDTOPREFS
ZENDTOPREFS
root at myhost:/etc/cron.d# echo $ZENDTOPREFS
/usr/local/share/zendto/config/preferences.php
root at myhost:/etc/cron.d# ls -l
/usr/local/share/zendto/config/preferences.php
-rw-r--r-- 1 user root 15622 Jul 31 10:53
/usr/local/share/zendto/config/preferences.php
root at myhost:/etc/cron.d# echo $ZENDTO
/usr/local/share/zendto
root at myhost:/etc/cron.d#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150731/3b2d5d3f/attachment.html
More information about the ZendTo
mailing list