I have the following problem.
Using laravel and cronjob, I run a routine that checks for each client whether to delete it and also deletes its database.
To delete the database, I am using the HTTP API - calling the server itself via php CURL.
However, there is a bug, the database is deleted, but the db.conf file is not updated (deleting the database line deleted in this step). That is, it deletes but does not update in db.conf
So I have backup problems…
I’ve already reviewed the code and can’t find the problem.
I’ll try to use it via CLI CLI Reference | Hestia Control Panel
Is there any way to call this command via PHP?