Skip to content

geekdecoder

Solving the Mysteries of Geek Code

geekdecoder
  • Services
  • Contact

Restart Apache with Cron Job

August 22, 2015July 27, 2014 by The Geek Decoder

Sometimes the loads on apache can be high:

Set up th efollowin cron job.


#MAILTO=admin@coldriverdata.com
#02 12 * * 1 /usr/bin/killall -9 httpd && /sbin/service httpd restart

Categories Administration, Cron
Post navigation
rsync from one server to another
Schedule ClamAV scanning via Cron with zero config, and e-mail notification

Search for Articles

Geekdecoder Services

Geekdecoder offers technical services from migrations, server monitoring, server security and hardware rental for dedicated and cloud servers.
See Services.

EZOSHosting Web Hosting

See EZOSHosting Web Hosting Plans and Domain Services.

Featured Articles

  • Zpool Resources
  • Mail fails to deliver due to corrupt /etc/domain_secondary_mx_ips.cdb file
  • Great Article on Adding Proxmox Storage
  • Install Brave Browser on Ubuntu, MintDebian 9+, Ubuntu 14.04+ and Mint 17+
  • How to While List IP’s for Different Email Providers
  • Proxmox Resources
  • Proxmox on Debian Install fails – Errors were encountered while processing: pve-manager proxmox-ve
  • Mount NTFS file system in Debian
  • Where Proxmox ISO Stored
  • Disable TCP Port 135 and Avoid WannaCry Windows 10

Categories

PRIVACY   TERMS OF SERVICE   CONTACT
© 2021 geekdecoder • Built with GeneratePress