- Plesk for Linux
Standard commands are not recognized in the Watchdog Disk monitor at Extensions > Watchdog > Disks > Device > Command to execute, the following error occurs:
PLESK_ERROR: Error: Some defined attributes are incorrect.
Shell alias is used instead of the full path to a binary.
Use the full path to a binary instead of alias.
For sending an email, the sendmail command can be used with the following path:
On CentOS/RHEL-based distributions:
# /usr/lib/sendmail <options>
On Debian/Ubuntu-based distributions:
# /usr/sbin/sendmail <options>
For executing a
Note: A script file should have executable attributes: chmod +x /path/to/file/example.sh