Few days ago i wrote about how to start/restart Apache if it is inactive in Ubuntu. Today i am going to share a bash script for CentOS 7. It is mostly the same except few changes.
Apache may sometime crash or stop for some other reasons. I had this issue with one of the server where Let’s Encrypt post hook does start Apache for whatever reasons.
Cron, an Unix term stands for Command Run ON. It is very useful utility in Unix/Linux specially for SysAdmins who might like to schedule different tasks on different times for different purposes.
There are many ways to delete cron mails and empty the inbox which is filled by cron job every time it runs. Some time we are running multiple scripts/files every minute.
To make IMAP working with PHP we need to install these modules, install these from synaptic package manager.