I work with sugar pro 7.6 and I want to execute a custom job which checks the status of the contracts and does something.
I correctly setup my batch file (following the documentation instructions) for the execution of the scheduled job and the file is executed each minute.
I have created a file at this location C:\wamp\www\sugarcrm\custom\Extension\modules\Schedulers\Ext\ScheduledTasks\rinnovo_contratto.php with this lines
$today = date("Y-m-d");
error_log("Date range start:".$today,0);
I have created a scheduler that execute rinnovo_contratto.php and in the detailview of the scheduler I can see a lot of execution of the job.
The problem is that, when I want to change the code in this php file and I want to test it, I can't do this. If I add some lines of codes nothing happens. I try to delete the cache, make a quick rebuild and rebuild the scheduler but nothing change.
There' s no errors in the log files that can help me to find a possible problem.
Or sugar executes the old job, or it doesn't execute the file.
Can you help me? I can't lose all this time for each update of my code.