Execute a script from a .bat file

To run a script from a .bat file, you first have to create that .bat file. Then, paste this code in the bat file: the @echo off will prevent the printing of commands. I added the pause command; so you have to manually press a key to exit the output window. Feel free to remove … 

 

Disable service alerts (SSH, HTTPD, Dovecot, …) in DirectAdmin

To disable these service alerts in the Direct Admin control panel, you can simply edit the file services.status at  /usr/local/directadmin/data/admin/ This file should look (similar) like this: If you want to disable SSH alerts in Direct Admin, maybe because a spammer is trying to brute force its way into your system, simply change ON to …