Xref: utzoo comp.unix.misc:331 comp.unix.xenix.sco:477 comp.unix.internals:667 comp.unix.sysv386:1233 comp.unix.shell:585 Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!rutgers!cunixf.cc.columbia.edu!cubmol!ping From: ping@cubmol.bio.columbia.edu (Shiping Zhang) Newsgroups: comp.unix.misc,comp.unix.xenix.sco,comp.unix.internals,comp.unix.sysv386,comp.unix.shell Subject: crontab for ordinary users Message-ID: <1990Oct15.181918.8325@cubmol.bio.columbia.edu> Date: 15 Oct 90 18:19:18 GMT Reply-To: ping@cubmol.bio.columbia.edu (Shiping Zhang) Organization: Dept. of Biology, Columbia Univ., New York, NY Lines: 37 In order to test if crontab works for, I prepared the follow script file called test which is chmoded excusable #!/usr/bin/csh # the script file echo test crontab and created the crontab file with a single line in the format: min h * * * /wholepath/test The script is invoked at specified time but aborted at very begining. I got the following message from the system: Subject: Output from "cron" command Status: R Your "cron" job /wholepath/test produced the following output: TERM: Undefined variable. I tried the following: min h * * * export TERM; /wholepath/test min h * * * set TERM; export TERM; /wholepath/test min h * * * set TERM termname; export TERM; /wholepath/test etc... But non of them worked. However, if it was invoked in the root crontab, it worked fine. Can anyone point out to me what is the problem? Thanks. -ping