[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000313: crontab vs. terminal
- Subject: 20000313: crontab vs. terminal
- Date: Mon, 13 Mar 2000 11:02:20 -0700
>From: address@hidden (Chris Hennon)
>Organization: .
>Keywords: 200003131749.KAA04130
>Steve -
>
>If I run C shell scripts from the terminal, it completes
>normally. If I run the same scripts via the crontab, it dumps the core
>and writes:
>
>*** TERMINATING gf
>*** Received signal 11 SIGSEGV
>
>to the log file. I'm running within Solaris CDE. I've insured that the
>DISPLAY is set as well as LD_LIBRARY_PATH. I'm running SNPROF. Any
>ideas?
>
>Chris
>
>================================================
>| Chris Hennon Ohio State University |
>| Tropical Meteorology address@hidden |
>| |
>| Dept of Geography Office: 1155 Derby Hall |
>| 1036 Derby Hall Phone : (614) 292-2704 |
>| Columbus, OH 43210 Fax : (614) 292-6213 |
>================================================
>
Chris,
Your script is probably inheriting your DISPLAY environmental variable
from your environment when you run it interactively- but not from cron.
You script should explicitly set the DISPLAY variable when running from
cron.
Steve Chiswell