Archive for the ‘crontab’ Category

linux server status monitoring simple script

Create the following scripts in a file and call the file in crontab at desired intervals
echo “……………………. SERVER MONITORING REPORT ……………………..” > /scripts/report.txt
echo “APACHE SERVER:-” >> /scripts/report.txt
/sbin/service httpd status >> /scripts/report.txt
echo “MYSQL SERVER:-” >> /scripts/report.txt
/sbin/service mysqld status >> /scripts/report.txt
echo “SSH/SFTP:-” >> /scripts/report.txt
/sbin/service sshd status >> /scripts/report.txt
echo “SENDMAIL:-” >> /scripts/report.txt
/etc/init.d/sendmail status [...]

Show all cron jobs in linux

If you need to show all cron tasks in a linux machine  go to /var/spool/cron and run the following  command
cat * >  crones.txt
Now , you can find all cron details in the above file (crones.txt)


Fatal error: Call to undefined function wp_list_addonn() in /home/hellosys/public_html/wp-content/themes/Grante/sidebar.php on line 106