Search Results

Search: Posts Made By: nitiraj.rathore
2,195
Posted By nitiraj.rathore
Error during Accessing Global variable inside function
emailid=myemail@xyz.com
taskName="DB-Backup"
starttime=`date`
email()
{
subject="$taskName" ": " $* " at `date` "
mutt -s "$subject" $emailid < /dev/null
}

email "Starting"...
Showing results 1 to 1 of 1

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