...
- add following crontab line: (crontab -e)
Code Block | ||
---|---|---|
| ||
*/2 * * * * /usr/bin/perl /scripts/SuspendCheck.cron.pl |
- you can edit threshold for account suspension and warning ticket in SuspendCheck.cron.pl file by editing %defconfig hash values. By default ticket notification value is set to 20% of CPU usage, so for testing purposes please set it to lower level.
...