File not found in cron_run_jobs.php

Hello.
I’m using version 12.0.3. I’ve seen that in scripts/cron/cron_run_jobs.php, on line 45, there is a require_once that points to …/…/<master.inc.php>. In my installation the file is in another location and the script fails. Changing …/…/ to …/…/… works. What is the best way to fix this? There is a DOL_* that can be used to point to the path configured in my environment?
Thanks.

Daniele

HTDOCS: /var/www/localhost/htdocs
SCRIPT: /var/www/localhost/dolibarr/scripts

Hi,

You have done it the good way.
Just need to modify this line to adapt it to your environnement.

Thank you.
Bye

Daniele