bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] Feature request: email notifications about the progre


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] Feature request: email notifications about the progress
Date: Fri, 01 Jun 2018 17:08:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hi Paul,

Paul Daniels wrote:
     I've got a mailfeeder tool that I wrote for testing a long time in
the past, uses standard sockets type stuff in linux in plain C, BSD
licenced and no external libs required.

Thank you.

I do not plan to implement in ddrescue any mail client code. Using the unix toolbox philosophy I was thinking about someting like make ddrescue execute

  system( "echo <message> | mailx -s <subject> address@hidden" );

and just provide the means to specify the email address and a pointer to the configuration documentation of mailx (or whatever email client used). BTW, the mailx command in my machine does not seem able to send emails to the outside world.


ST wrote:
PS: such hooks could be used also for other stuff - like backing up the
so far rescued image to an sftp-server (just in case)...

Working commands suitable for something like the system call above are welcome. ;-)


Robert Trevellyan wrote:
Maybe all you need is a utility that watches the mapfile for changes and
runs a script every nth time (i.e. no modifications to ddrescue)?

This would be easier for me :-) but if something like my proposal above could be implemented, it would be more flexible and efficient (I think).


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]