It's sleeping. Here's the code that's doing it:
# If we're not running interactively, add a random delay here. This should # help reduce spikes on the servers hosting the rulesets (Thanks, Bob) MAXDELAY=3600; DELAY=0; [ ! -t 0 ] && [ ${MAXDELAY} -gt 0 ] && let DELAY="${RANDOM} % ${MAXDELAY}"; [ "${DEBUG}" ] && [ ${DELAY} -gt 0 ] && echo "Probably running from cron... sleeping for a random interval (${DELAY} seconds)"; [ ${DELAY} -gt 0 ] && sleep ${DELAY}; L > -----Original Message----- > From: Mark K. Wendt [mailto:[EMAIL PROTECTED] > Posted At: Thursday, February 09, 2006 8:53 AM > Posted To: sa-users > Conversation: Problems with RDJ > Subject: Problems with RDJ > > Howdy, > > Having an issue running RDJ out of cron. System is SunFire 280R > running Solaris 9, bash is located at /bin/bash, and the RDJ script > is v1.28. Running the script from the command line, it executes and > does all it's supposed to do. I put an entry in root's crontab, and > it starts executing the script, runs for about 15 - 20 seconds and > just seems to hang. It's been running for over 20 minutes. On the > command line I've executed the file using root's normal shell, bash > and sh, and it works fine, finishing up in about a minute or > so. Anybody else run into this problem? > > Thanks, > Mark >