Search Results

Search: Posts Made By: needyourhelp10
30,570
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}
...
10,920
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...
7,729
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 03:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy