View Single Post
  #28 (permalink)  
Old 10-03-2007, 05:12 AM
randall randall is offline
Advanced Member
 
Posts: 193
Default

Quote:
Originally Posted by cvidal View Post
It looks like a path problem. If you run:

/opt/zimbra/libexec/zmstatuslog

as user zimbra and then click "Refresh" on the Server Status screen, everything is OK (the zimbra.log also), but if the same command is triggered by cron it fails.

The solution (quick and dirty = Q&D) is to replace the zmsatuslog line in the crontab by:

Code:
*/2 * * * * . /opt/zimbra/.bashrc ; LANG=C /opt/zimbra/libexec/zmstatuslog
That's it! :-)

Carlos
Is this one specific to OS? I'm using Ubuntu 6.06, and I tried the same line, but it's not working.

Any idea?

Thanks in advance.
Reply With Quote