On Fri, Apr 22, 2005 at 10:28:59AM +1200, Rex Johnston wrote:
> OK then, stop the daemon
> 
> /etc/init.d/cron stop
> 
> # start it again with strace
> 
> strace -f -o /tmp/strace.out cron
> 
> # run it for a bit, say 20 seconds
> # then check out what you have in /tmp/strace.out
> # look for the "open" calls...  examine everything in
> # /etc that it opens...

TZ isn't set.

cron opens 4 human-readable files in/under /etc -- none have anything
particularly inspiring in them.

Cheers,
Roy, puzzled.

footnote: how I should have found the files, instead of the manual
approach I took:

for file in `grep open /tmp/strace.out | grep etc | cut -d'"' -f2 | \
sort -u`; do file $file | grep ASCII | cut -d':' -f1 ; done

others may have more elegant solutions

Reply via email to