On Mon, Oct 01, 2007 at 02:59:41PM +0300, [EMAIL PROTECTED] wrote: > On 10/1/07, Celejar <[EMAIL PROTECTED]> wrote: > > On Sun, 30 Sep 2007 21:17:57 +0300 > > [EMAIL PROTECTED] wrote: > > > On 9/30/07, Celejar <[EMAIL PROTECTED]> wrote: > > > > [...] > > > > I struggled for a while to figure out how to do exactly this, without > > > > success. I believe that cron does not work, since (at least some) > > > > ncurses apps insist on being run from a terminal. > > > > if you enter the "set" command in bash you get a list of bash > variables that are accessible to all programms that you execute. This > is called "the bash environment" (see [1] for more info). A lot of > programms really need to check the values of some of these variables > to execute. Cron has only a small portion of them set so a lot of > programms fail when run from cron (can't tell if this is your specific > case though)
What if you have cron run su - [user]? That should set up a login environment. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]