Search Results

Search: Posts Made By: hugo_perez
21
7,815
Posted By hugo_perez
Don't run the command directly as a cron Job, you...
Don't run the command directly as a cron Job, you must:
create an script that "set -x",establish the logfile, load the environment variables, then in the sam script run the comand. Try without...
21
7,815
Posted By hugo_perez
Please paste the logfile of the script. Thanks....
Please paste the logfile of the script. Thanks. Hugo.
21
7,815
Posted By hugo_perez
If you use copy-paste from the web, - make sure...
If you use copy-paste from the web,
- make sure that a line was not unwittingly splitted.
(in the big lines use the $ to go to the end of the line)

If it's necessary use "Shift j" to lift the...
21
7,815
Posted By hugo_perez
Another way to try to resolve the problem is to...
Another way to try to resolve the problem is to set the environment separately.

1- comment the the linesthe following lines in both scripts:
. /etc/profile
. /.profile

2- if the output of...
21
7,815
Posted By hugo_perez
The environments in /etc/profile was loaded well,...
The environments in /etc/profile was loaded well, but when
the script try to load the /.profile settings the script fail. I
think that you need to review the /.profile file (near the export PATH...
21
7,815
Posted By hugo_perez
1- Comment the cron Job 2. Try the same...
1- Comment the cron Job

2. Try the same script whit the following modifications:

#!/bin/ksh

#normally VERBOSE is an environment variable
VERBOSE=Yes

if [ "$VERBOSE" = "Yes" ]
then
...
21
7,815
Posted By hugo_perez
What happen if you do the following? 1 -...
What happen if you do the following?

1 - create a new script /opt/CV/etc/script/my_tcupsbmt.sh

#!/bin/ksh
. /etc/profile
. /.profile


/usr/bin/find /cvdata/download/image/A -name 'tcup*'...
Showing results 1 to 7 of 7

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