Thanks everybody Nearly everyone told me to user absolute calls for the date command (/usr/bin/date). The "stty" call produced the SIGTTOU since no stty is attached. Therefore I modified the script: #!/usr/bin/ksh /usr/bin/date +20%y-%m-%d > ~/date.txt thankx again =) ---------------------------------------------------------------- original message: >>Hi everybody, >> >>I've a litte script wich I'd like to start periodical as cron job. The script should run in background: >> >>stty -tostop >>date +20%y-%m-%d > ~/date.txt >> >>When lauched by hand - ./getdate.sh - it produces a: "[1] + Stopped (SIGTTOU) .getdate.sh &" and the "date.txt" file is empty. >>When started in foreground no error occures. >>Wen started as cron job, nothing happens. >>Does anyone has an idea ? _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Wed Aug 27 07:07:40 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:18 EST