Search Results

Search: Posts Made By: needyourhelp10
31,273
Posted By BOFH
This sends me high priority e-mails: # cat...
This sends me high priority e-mails:

# cat >> ${TMPFILE} << EOF
To:${ADMIN_EMAIL}
From:carls@`hostname`
Subject:metastat results ${DATE}
Importance:High

Results of `hostname`:${SCRIPT}
...
11,517
Posted By Scott
Oh, sorry. I missed that "little" detail, when i...
Oh, sorry. I missed that "little" detail, when i read your question!

Search the forum for Doesn't work with cron...
8,079
Posted By dennis.jacob
Either you can - source the .profile before...
Either you can

- source the .profile before calling the script
eg: * * * * * ./.profile; sh script.sh

- or, call the .profile inside your script.
Showing results 1 to 3 of 3

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