when i run cron manually , I get logged out from sugarcrm . I am using sugarcrm 6.5.x communtiy edition.
Although, When I check in scheduler its runs.
Example : abc.net/sugarcrm/cron.php
Because the cron.php is expected to be triggered from command line only.
You have triggered cron.php via browser by calling it directly, which is used only in case of troubleshooting. Otherwise, you can trigger is via making a scheduler (I believe this is what you have done).
Now you have 2-choices:
1. To keep the same settings & scheduler, but don't fire cron.php from browser.
2. To properly setup the cron to be fired via command-line. For that you will also have to revert back the changes made in cron.php.
Can you please let me know what changes has to be made .
Hi Rajneesh Kumar
Whenever I need to test a specific scheduled job and I don't want to wait for its specific time to run I copy the regular cron.php, modifiy it a bit and include into it the scheduled job script.
This way I can run this job anytime.
I hope it help you.
As Rajneesh Kumar says when you access yourinstance/cron.php through the browser you should see a white page with the following message:
cron.php is CLI only.
This file can only be executed from command line. It is recommended to set up a cronjob that executes this every minute to check for tasks. You can set up a cronjob based on your operation system like described here:
Retrieving data ...