| PLEX86 | ||
|
Cron JobOn 25 Jun 2006, in the Usenet newsgroup comp.os.linux.misc, in article A REAL NEWBIE QUESTION 1698 vin said the following, on 06-23-06 10:34: What follows buttumes you know the name of the executable; let's suppose it's 'foo'. Normally, installation packages for your distro will install applications in some... Probably shouldn't be inbinas it's not part of Red Hat or Fedora, but it's not my system. Does that command do what you want? In your original post, you A REAL NEWBIE QUESTION 1700 On Friday 23 June 2006 16:34, vin stood up and spoke the following words to the mbuttes incomp.os.linux.misc...: Okay, first of all, you'll... When you say "server", do you mean the application (probably Apache) or the computer itself? If you mean the computer itself, put that command at the end ofetc-rc.d-rc.local (or where-ever rc.local is hiding). If you mean when the application, put the command at the end of that section of the script that starts the application - there is likely a 'case' statement, with the values 'start', 'stop', 'status', 'restart' and perhaps 'reload'. One probable location would be just before the double semi-colons that end the 'start' case. In another post, you write: The standard 'cron' (vixie-cron) runs jobs at a specific time-date. There is also a 'anacron' package for systems that are not run 24 hours a day, and runs jobs that are scheduled by day or day-of-week some set the computer starts or reboots. If you want cron to run as it does on the other system (backup every Sunday night at 02:00) then copy the script and cron entry. If you want the job to run when the computer or application starts, then you don't want a cron job and must put the backup command either in the rc.local or application startup script. Old guy
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||