Open hostingnuggets opened 8 years ago
The same happens with me. As a correction, I loaded the user zimbra's bashrc, as the @hostingnuggets said:
###### MAIN ############
# Here the code loads the config file
source /etc/zmbkpose/zmbkpose.conf
source /opt/zimbra/.bashrc
When running zmbkpose from the zimbra user crontab it does not work and fails with the following error:
Line 236 shows that ldapsearch is being ran but does not work as /opt/zimbra/bin is not in any PATH. I think you should document that the PATH needs to be set.