How to run BashScript via DirectAdmin API (not from hook)

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
I have a large number of different bash scripts to execute, of course I can run them using DirectAdmin Hooks, e.g. I send a request to the DirectAdmin API to create a subdomain and then during this hook run a given bash script.

But I have a lot of scripts and not enough not used hooks for this .


1) Is there any solution so that I can run bash script from API command without having to use hook like creating domains in directadmin etc?
 
Back
Top