Not work domain_destroy_post.sh user_destroy_post.sh, why ?

bartik

Verified User
Joined
Nov 10, 2006
Messages
23
H! i need help. last version directadmin.

I write script,
path: /usr/local/directadmin/scripts/custom/

add domain - domain_create_post.sh - work, it's okey
add user - user_create_post.sh - work, it's okey
delete domain - domain_destroy_post.sh - not work, why ?
user_delete - user_destroy_post.sh - not work, why ?

chmod 755

Why not work destroy ? please link me documetation api directadmin.
Thank you, i need help.
 
I'm agree with bartik.

I is very easy to test it.

domain_create_post.sh (Only have Echo "Hi" and works)
domain_destroy_post.sh (Only have Echo "Hi" and not works)
 
You are agree with bartik about what?

If you want to test whether or not the script runs you should redirect output from the script into a file. You may or may not see anything from the script in directadmin, and that's OK.
 
Back
Top