Search Results

Search: Posts Made By: snturner
2,813
Posted By snturner
The first thing your script should do is load...
The first thing your script should do is load your .profile file. Use the example I supplied, with of course the correct location of your .profile.

I am not saying this will resolve your issue...
2,813
Posted By snturner
Load your .profile into the script at the...
Load your .profile into the script at the beginning.

Such as this:

HOME=/dst/home/nikudev # This should be the location of your .profile file
export HOME

. $HOME/.profile
1,558
Posted By snturner
Thank you
Thank you that worked.

I didn't know you could redirect to two different files.
1,558
Posted By snturner
Getting Email from script
I am running a script from crontab and sending the output to another file. This is the statement in crontab:

45 23 * * * /dst/nikutst/clarity/lib/DSTRestartTest1.sh >>...
Showing results 1 to 4 of 4

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