How to start manual scanning
cPGuard provides an option to initiate a manual scan on your server which can run in 2 ways; either against specific directory or for whole pubic files [ ALL ]. To start a manual scan, you have 2 options
1. From the GUI :- Go to cPGuard >> Virus Scanner >> Manual Scans . This option will help you to initiate manual scan on your server. There you can find an option to scan
a. ALL public files.
b. Specific directory which you can enter manually.
c. Specific DocRoot from the drop down.
2. From CommandLine :- Use the following command to start a manual scan again a defined directory or for all public files [ ALL ].
1. Specific Directory/Account :- /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/cpguard/scanner/actions.php scan <Directory Full Path>
2. All Public Files :- /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/cpguard/scanner/actions.php scan ALL