[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: email notification when a process ends?



Andrei Popescu wrote:
> On Wed,15.Apr.09, 13:00:25, Zhengquan Zhang wrote:
>> Dear debian users,
>> I have got a script that does database query running for hours. Is there
>> any way to send myself an email after the process for the script ends?
> 
> Easiest would be to put something like
> 
> echo 'Master, job is done' | mail -s "Database query status" master@server
> 
> in your script (you need package bsd-mailx or similar for this).

heirloom is another.




-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: