Search Results

Search: Posts Made By: rusman
6,756
Posted By rusman
Holy moly, Don! I hadn't even given that any...
Holy moly, Don! I hadn't even given that any thought (obviously)! I will give that a try and let you know, but I'm feeling pretty good that this is the issue!
6,756
Posted By rusman
Hi Don, in this case I am using full paths in the...
Hi Don, in this case I am using full paths in the script so the PATH environment variable doesn't come into play here. Further, the script works up to this line. I am able to tell this because the...
6,756
Posted By rusman
Yes, I do want the command executed - that is...
Yes, I do want the command executed - that is intended.
the mail_report variable will have output that looks like this:
nbdeployutil --report...
6,756
Posted By rusman
Path doesn't matter as I am using full path...
Path doesn't matter as I am using full path anyway. This is a script for NetBackup (enterprise backup application) to run a command to gather data. The command (nbdeployutil) is a two step command....
6,756
Posted By rusman
Here is cron env: HOME=/ LOGNAME=root ...
Here is cron env:
HOME=/
LOGNAME=root
PATH=/usr/sbin:/usr/bin
SHELL=/usr/bin/sh
TZ=UTC


Here is my env when I run the script successfully:
SHELL=/bin/sh
TERM=vt100...
6,756
Posted By rusman
Script fails to run properly when run from CRONTAB
Hello all,

I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly.

My scripting skills are...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy