Scripting API Users guide/ Feature Request

vertangie

Verified User
Joined
Apr 27, 2005
Messages
13
Is there a Scripting API Users guide anywhere?

I've already got as far as writing a script that calls various DA Pages and am looking for a guide or FAQ to help answer some questions... eg:

I'm calling these in this order.

CMD_ACCOUNT_USER
CMD_DB
CMD_DOMAIN
CMD_CUSTOM_HTTPD

It looks like Apache is restarting during the process which is causing me headache (I'm going to have to fork a process to run the script) so I wondered if there's a breakdown of what each command actually does to what files. I've deciphered a lot of it by observation but this stuff does really need to be documented for an Admin to truly *trust* DirectAdmin.

I'm expecting everything but CMD_DB would be causing the restart as they all affect Apache but ideally it would be nice if I could stop the restart until it's all been set. Or even better choose when to restart apache myself. This way everything could run and then just the one restart.

I figured there must be more info than just this forum... what am I missing?

Thanks

Angie
 
Top