LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   /usr/bin/run-parts (https://www.linuxquestions.org/questions/ubuntu-63/usr-bin-run-parts-701658/)

sulekha 02-02-2009 10:12 AM

/usr/bin/run-parts
 
Hi all,

following is what i have read in the book Ubuntu complete reference by Richard Petersen, page no: 463



Running cron Directory Scripts

Each directory contains scripts that are all run at the same time. The scheduling for each group is determined by an entry in the /etc/crontab file. The actual execution of the scripts is performed by the /usr/bin/run-parts script, which runs all the scripts and programs in a given directory. Scheduling for all the tasks in a given directory is handled by an entry in the /etc/crontab file. Linux provides entries with designated times, which you may change for your own needs.


but i didn't find the script /usr/bin/run-parts script in my machine ?


so what could be the script that does the actual execution of crontab entries ?

colucix 02-02-2009 10:15 AM

First, check if the file /etc/crontab contains a call to the run-parts command. Then try to locate the run-parts executable by running
Code:

whereis run-parts
maybe it is simply under /bin and not /usr/bin.

tredegar 02-02-2009 10:58 AM

kubuntu 8.04.1:
Code:

tred@vaio:~$ locate run-parts
/bin/run-parts
/usr/share/man/fr/man8/run-parts.8.gz
/usr/share/man/man8/run-parts.8.gz
tred@vaio:~$



All times are GMT -5. The time now is 12:23 AM.