Antwort: RE: using 4JS & cron
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <OF6843AB1A.1B32CDAD-ONC1257036.00264B3C-C1257036.002727F9@kofu.de> |
We have solved the problem. We have mixed some root enviroments and some user enviroements and now it works. thanks for your help. see below for anyone who is intrested. ############################################this works # .bash_profile # Get the aliases and functions #if [ -f ~/.bashrc ]; then # . ~/.bashrc #fi # User specific environment and startup programs ####### root profile ######### set `who am i` case "$2" in tty*) TERM=linux ;; *) TERM=vt220 ;; esac EXINIT="set noflash" PATH=$PATH:/usr/lib:/usr/lbin:/usr/bin:/tkd export PATH EXINIT="set noflash" TERMCAP=/etc/termcap export TERM EXINIT TERMCAP PS1=`uname -n`# ############################## export FGLSERVER=$TERM PATH=$PATH:$HOME/bin export PATH unset USERNAME export INFORMIXDIR=/opt/informix export INFORMIXSERVER=on_kofu export INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhosts export LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql export ONCONFIG=onconfig.kofu export DB_LOCALE=de_DE.cp1252 export SERVER_LOCALE=de_DE.cp1252 export CLIENT_LOCALE=de_DE.cp1252 export DBNLS=2 export DBMONEY=, export DBDATE=DMY4. export PATH=$PATH:. export PPATH=/programme/fibu export FBPATH=/programme/fibu export KRPATH=/programme/kore export ABPATH=/programme/anbu export WWPATH=/programme/wawi export BESTMIX=/programme/adifo export MENUE=/programme/menue export DBPATH=$FBPATH:$KRPATH:$ABPATH:$WWPATH:$MENUE export RUNNER=fglrun export TTY=`tty` export a="$LOGNAME $TTY 0 0 0" export BS=UNIX export FGLDIR=/opt/fgl2c.350 . $FGLDIR/envcomp export FGLGUI=0 PATH=$FGLDIR/bin:$INFORMIXDIR/bin:$PATH LANG=de_DE export PATH ################################################################## ### ab hier die Steuerdatei ###################################### ################################################################## date >> /home/hmcron/batch/status.txt fglrun /programme/wawi/sehm05 1 $a ##################################################### Stefan Serwe KOFU Tiernahrung Kottmann GmbH EDV-Abteilung Danziger Strasse 3-5 41460 Neuss Tel.: +49 2131 181 202 Fax: +49 2131 181 204