ok. i found the answer and thought i'd post it in case anyone else runs
into this. the environment variables under the cron user(root on this
system) did not included /usr/local/bin which is where python was installed.
doing a:
ln -s /usr/local/bin/python /usr/bin/python
fixed it. i expect change the paths for root would similarily work.
s
--On Thursday, January 4, 2001 11:56 AM -0500 "Scott R. Every"
<[EMAIL PROTECTED]> wrote:
> trying to execute the following statement from within a cron script(perl):
> /home/mailman/bin/add_members -n $sfilename -w y $list
> 1>>/home/mailman/to_do/subs.log 2>>/home/mailman/to_do/subs.log
>
> it works fine from the command line, but when run under cron i get the
> following error in the log: env: python: No such file or directory
>
> any ideas what i can do to fix this?
>
> thanx
>
> s
>
>
> --
> Scott R. Every - mailto:[EMAIL PROTECTED]
> EMJ Internet - http://www.emji.net
> voice : 1-888-258-8959 fax : 1-919-363-4425
>
> ------------------------------------------------------
> Mailman-Users maillist - [EMAIL PROTECTED]
> http://www.python.org/mailman/listinfo/mailman-users
--
Scott R. Every - mailto:[EMAIL PROTECTED]
EMJ Internet - http://www.emji.net
voice : 1-888-258-8959 fax : 1-919-363-4425
------------------------------------------------------
Mailman-Users maillist - [EMAIL PROTECTED]
http://www.python.org/mailman/listinfo/mailman-users