Suspension callback

In addition i noticed that user_suspend_post.php doesn't work, if i on purpus make a script error then da will return an error on the file but a simple echo doenst work after a account is suspended.

I run the file from command and then the script works any idee ?
 
Hi Alex,

The file is created and i did a small test to see what happens i create the following script:
PHP:
#!/bin/sh
echo `date` Success >> logs.txt
If i run this from commandline the line is added to logs.txt but when i suspend a user nothing happens.

Any idea ?
 
Define the full path to logs.txt, it might be created whatever you do not expect. As directadmin might not change directory.
 
Back
Top