Hi Guys
I am trying to get the email to case function working on a Sugar install running on OSX Server. It appears the check inbound email scheduler is not running. I havent found any definitive guide to do this for Mac OSX.
SugarCRM Community Edition 6.3.0
OSX 10.7.2 (OSX Server Tools installed)
Running the web server on OSX including PHP functionality.
sugar is located at localhost/sugar (install path /Library/Server/Web/Data/Sites/Default/sugar) Currently the CRM is only available on the internal network.
Inbound email settings are setup, and tested as working using the test function. Sugar can communicate with the server, as it can retrieve the folder list to choose an INBOX folder, TRASH folder etc. Sending email is also working ok.
The scheduler page asks me to add the following to my crontab:
"Note: In order to run Sugar Schedulers, add the following line to the crontab file:
* * * * * cd /Library/Server/Web/Data/Sites/Default/sugar; php -f cron.php > /dev/null 2>&1"
However OSX does not use cron to run scheduled tasks. I have tried to follow the guide here:
» cron jobs | SugarCRM Knowledge Base
I have added the following to the plist as suggested:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.sugarcrm.Scheduler</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/curl</string>
<string>/Library/Server/Web/Data/Sites/Default/sugar/cron.php</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>1</integer>
</dict>
</plist>
The line in bold is the line i think i need to get correct, but the article above does not give any indication of what this line should be. This matches where the cron.php file is installed on my server. i do not know if i need to somehow then add a cron job to this file, or create a crontab somewhere else for the scheduler to run?
Any advice would be greatly appreciated!


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks