How to have cron running my .profile ?

From: Guy Dallaire <dallaire_at_total.net>
Date: Mon, 30 Sep 1996 14:06:15 -0400

It's a basic question I know, but the documentation states "If you schedule
a command to run when you are not logged in and you want to have commands in
your .profile run, you must explicitly do so in the crontab file. (For a
more detailed discussion of how sh can be invoked, see the sh command)."

I looked at the sh command, and i discovered that only the "login" program
can call it in a way that permits the executions of /etc/profile and
/etc/.profile

Does this mean that I have to submit a script containing . $HOME/.profile in
order to have my PATH and environment variables adjusted ?

                                Thanks
Received on Mon Sep 30 1996 - 20:44:14 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT