[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in cronscript?



On Thu, Jul 18, 2002 at 01:03:19AM +0200, j2 wrote:
> > The best I can do is suggest using strace (e.g. 'strace -o
> > /tmp/updatedb.trace updatedb ...') to try to track down why updatedb
> > isn't doing much.
> 
> Sent to soon. Here is a strace of the script.
> 
> cookiemonster:~# strace -o /tmp/updatedb.trace /etc/cron.daily/find

Oh, you mean that it fails when you run the script by hand too, not just
when it's run from cron? Interesting. I wonder if your /bin/sh is
something strange.

> fork()                                  = 6057
[...]
> --- SIGCHLD (Child exited) ---

Since you're stracing the shell script, you'll need to add the -f option
to strace to make sure it traces child processes.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: