Thank you for your reply.<br><br>This is pretty much what I found from my digging around. I asume this can still be done. <br>Is there an easy way to determine what needs to be added to the environment?<br><br>Bjorn<br><br>
<div class="gmail_quote">On Fri, Mar 21, 2008 at 2:01 AM, Robert Bossy <<a href="mailto:Robert.Bossy@jouy.inra.fr">Robert.Bossy@jouy.inra.fr</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Bjorn Meyer wrote:<br>
> I appologize if this been discussed previously. If so, just point me<br>
> to that information.<br>
><br>
> I have done a fair bit of digging, but I haven't found a description<br>
> of what to actually do.<br>
><br>
> I have a fairly lengthy script that I am able to run without any<br>
> problems from a shell. My problem is, now I am wanting to get it<br>
> running using crontab or cron.d. It seems that running it this way<br>
> there is a problem with some of the commands that I am using. For<br>
> instance "commands.getoutput" or "os.access". I am assuming that there<br>
> is something missing within the environment that cron runs that fails<br>
> to allow these commands to run.<br>
> If anyone has any information that would help, it would be greatly<br>
> appreciated.<br>
</div></div>Hi,<br>
<br>
 From a shell, type:<br>
    man 5 crontab<br>
and read carefully. You'll realize that a croned script does not inherit<br>
from the user shell's environment.<br>
<br>
Cheers,<br>
RB<br>
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>