Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  #21 (permalink)  
Old 07-23-2009, 12:02 PM
Member
 
Posts: 11
Default FWIW - cron and zmmailbox

Posting just in case someone else has this problem, or I forget how I solved it.

I'd been trying this for a while with no success, the command ran fine from the command line, but in cron it just did not work. No errors, just did not refresh the calendar.

Original crontab:
05,20,35,50 * * * * zmmailbox -a admin@zimbra.site.org -p pfffte -m wiki@zimbra.site.org syncFolder "/TicketSystem"

Working crontab:
05,20,35,50 * * * * bash -l zmmailbox -a admin@zimbra.site.org -p pfffte -m wiki@zimbra.site.org syncFolder "/TicketSystem"

For some reason zmmailbox needed a login shell. Evironment vars??
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0