Question

andrew's avatar

Are folders inside cron.daily recursed?

Asked by andrew (10788points) | asked 3 weeks ago | 2 responses | “Great Question” (1points) | Flag as…

Say I put a symlink to a directory of scripts inside cron.daily. Is cron smart enough to recurse through them?

I’d check, but I don’t want to wait for a few hours.

Topics: , ,
Observing members: 0 Composing members: 0

Answers

J0E's avatar

Awww…Andrew’s question is an orphan…

grumpyfish's avatar

The file /etc/crontab is used to call the /etc/cron.hourly files, but uses the command run-parts to do it (at least on my CentOS system). However, run-parts ignores non-executables and directories:

http://www.annodex.net/cgi-bin/man/man2html?8+run-parts

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question about something? Ask Fluther!