Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-22-2005, 04:47 AM   #1
Registered: Jan 2003
Posts: 50

Rep: Reputation: 15
how to make a simple code for just restarting Apache via a Cron job

Looking for a simple script to just restart Apache via a Cron job.

Thanks in advance

Old 08-22-2005, 05:15 AM   #2
Senior Member
Registered: Mar 2004
Location: england
Distribution: Void, Debian, Puppy, Raspbian
Posts: 3,482

Rep: Reputation: 223Reputation: 223Reputation: 223
/usr/sbin/apachectl restart


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple cron job: not working Robert0380 Linux - Software 3 06-24-2008 05:45 AM
cron job working2hard Programming 6 07-28-2004 10:12 PM
cron job thesnaggle Linux - Newbie 1 09-19-2003 11:47 AM
Can I make a Cron job to synch/transfer a file from a folder to another FTP?... read efishta Linux - General 6 07-19-2003 11:03 PM
cron job? luap Linux - Software 2 03-16-2003 09:48 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration