The problem was you were executing the script in the wrong folder. The script must be executed in the
\installdir\apps\sugarcrm\htdocs folder. Creating this little bash file and adding it to the Windows Scheduler Manager should fix all the problems:
- Open the Notepad and write the following commands:
\installdir\php\php.exe -f cron.php
Save as and go to the
\installdir folder. Save the file with the
cron.bat name and select
All Files in the
Save as type box.
In the console, execute this:
schtasks /create /tn "SugarCRM Cron Job" /tr " \installdir\cron.bat" /sc minute
\installdir with the directory where you have installed the stack. For example
C:\Bitnami\sugar-6.5.25-0 or in the case of XAMPP
This solution works for SuiteCRM as well.
Hope it helps,