General Question

andrew's avatar

Are folders inside cron.daily recursed?

Asked by andrew (16543points) October 27th, 2009
2 responses
“Great Question” (1points)

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…

J0E (13172points)“Great Answer” (1points)
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.

Mobile | Desktop


Send Feedback   

`