Hi,
could you post me the step for setting the scheduler under Windows?
Kind regards,
Domenico
Hi,
could you post me the step for setting the scheduler under Windows?
Kind regards,
Domenico
This is from the documentation....
Microsoft Windows (2000, XP, Server) Systems
Set up the Windows batch file as follows:
1.
Create a batch file that will execute all the necessary commands.
2.
Enter the following paths in the batch file:
•
cd c:\path\to\your\sugarinstance
This folder should contain the cron.php file.
•
c:\path\to\your\php.exe -c c:\windows\php.ini -f cron.php
3.
Run the batch file from a command prompt to ensure that the output has no errors.
4.
If you encounter problems, do the following:
a.
Determine which PHP binary to use based on your PHP version.
PHP 4.x
If your system has a 4.x version of PHP, the PHP-CGI binary is named php.exe and is typically located in the root folder of your PHP install folder. To allow it to interact with the dynamic libraries, specify the location of the php.ini file. This can vary from system to system. If you are unsure, assuming that php.exe is located in c:\php, enter the following command at the command prompt:
c:\php\php.exe -r phpinfo();
The system will identify the php.ini file and its location.
PHP 5.x
If your system has a 5.x version of PHP, the PHP-CGI binary is named php-cgi.exe (not php-cli.exe) and is typically located in the root folder of your PHP install folder. To allow it to interact with the dynamic libraries, specify the location of the php.ini file. This can vary from system to system. If you are unsure, enter the command described above.
The system will identify the php.ini file and its location.
5.
Create the batch file.
a.
Click Scheduler in the Systems panel of the Admin page.
At the bottom of the default screen, you will see the contents of the commands you need to add to a batch file.
b.
Open notepad.exe, copy and paste what Sugar’s recommendation into a blank file.
c.
Change the Save As Type to "dropdown to All Files *.*. " and save it as a .bat file.
Note:
This is only a recommendation. It may not work for your particular instance. Check the folder paths because they are often the cause for problems with the Scheduler.
6.
Test the batch file.
a.
From the command prompt, navigate to the folder where you saved the batch file.
b.
Enter the full name of the batch file to execute it.
c.
Note and correct any reported errors, usually related to paths that cannot be found.
7.
Create a scheduled task.
a.
Click Start and navigate to Control Panel/Scheduled Tasks/Add Scheduled Task.
b.
Go through the Wizard, browse to the batch file you just created, and select it.
c.
Schedule a daily job, and ensure that you select Open advanced properties for this task when I click finish.
d.
On the Advanced Properties page, navigate to the Schedule tab and then click Advanced.
e.
Check off Repeat task to enable the fields below it, and select Every Minute or specify the interval you think is appropriate.
8.
Save your changes and close the Wizard.
__________________________
Robert Laussegger
http://www.iscongroup.net
Bei Fragen: support@iscon.at
Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
Ab sofort auch mit 6.4.2
Hi roblaus,
I have yet followed the instructions..and I have setted the Scheduler..I think it is working..in fact the emails arrived and they are automatically checked! But I want to implement the feature of the automatic creation of a Case..and it doesn't work!
hello dear...
thanx for this post link , i get helped a lot from your post. As now i am able to run my scheduler and the job present in _AddJobsHere.php , i am not able to get an idea how to run the zucker report function to run reports in this function.... Help me pls if u can....
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks