I’m sure everyone has had the experience of a server process that was created by some developer and continues to run indefinitely without ending. This script comes in handy in such situations. When you schedule it to run regularly with tools like crontab, it will terminate these seemingly never-ending processes for you. It’s similar to scripts like Terminating Excessive Apache (httpd) Child Processes and Listing Process Execution Directories.
Continue reading Shell: Terminating Long-Running ProcessesTag Archives: Shell
shell: set up crontab programmatically
I’ll introduce how to set up crontab programmatically with shell script.
Continue reading shell: set up crontab programmatically