I need to support changes to tasks dates that are triggered by a cron job that is running on the backend. I would like to use DHTMLX to take care of the changes and re-calculations of the tasks dates. What is the best way to achieve this task?
Unfortunately, there is no way to run Gantt on the backend or outside the browser.
If you can use the cron job to launch the browser, you can use Gantt API to recalculate the dates.
Assuming I launch a browser to do the job of updating the dates, is there a way to get the new slacks and critical path information?
Yes, you can use the
To check if the link or task is critical, you can use the
You can read more about critical path calculation in the following article: