On Tue Mar 04, 2008 at 04:50:49 +0000, Christian Kortenhorst wrote:
> Hey just wondering could anyone help me
> When i run script using cron i get this problem
> I: Extracting tzdata...
> I: Extracting util-linux...
> I: Extracting zlib1g...
> W: Failure trying to run: chroot /tmp/2tKOOX5txm mount -t proc proc /proc
That's a strange one.
What happens if you run this as a cron-job:
#!/bin/sh
mkdir /tmp/cron.$$
moun -t proc proc /tmp/cron.$$
> when just running script, any ideas what can do?
I guess the cron environment is different from the interactive one,
google will find lots of posts about that. I guess you just need to
determine which differences are important. Try dumping the environment
in both cases, via env, and seeing how they differ?
Steve
--
Received on Tue Mar 04 2008 - 11:05:10 GMT