smurfasmurf wrote:
> Cron (w. host=local) does not seem to read $home/lib/profile, so all
> the binds there are missing. Should it not behave as if the user logged
> in and typed the command manually?
With host=local, the command runs in a namespace as in /lib/namespace.
If you need the bindings made in your lib/profile you can use the
explicit name of the CPU server as hostname.
In the latter case, rx(1) and rexexec(8) are used. Rexexec does:
execl("/bin/rc", "rc", "-lc", buf, nil);
to run the commands in it. (The -l flag causes rc to read lib/profile.)
whereas, if host is 'local', cron does:
execl("/bin/rc", "rc", "-c", buf, nil);
The I can't tell if the difference in behaviour is intended. But you
can work around it that way.
Heiko