General Question

andrew's avatar

Are folders inside cron.daily recursed?

Asked by andrew (16562points) October 27th, 2009

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.

Observing members: 0 Composing members: 0

2 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.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther