필터 지우기
필터 지우기

sending email at the end of a script without Java

조회 수: 1 (최근 30일)
Giovanni Barbarino
Giovanni Barbarino 2021년 12월 27일
댓글: Adam Danz 2021년 12월 27일
Hello!
I have written a script to set up the command sendmail, and it works flawlessly... When the Java machine is running.
In my setting, I usually connect via ssh to my office computer and launch heavy code to be computed, so I need a script that notifies me whenever the program stops running and the results are produced. At the same time, I can't stay linked to that computer for all the computing time it takes to finish running, so I need to launch a background Matlab instance (using screen) so that it doesn't get terminated when I log out.
aaand sendmail needs the java machine running, something I cannot have since I work on background.
Is there another command to achieve this?
  댓글 수: 5
Jonas
Jonas 2021년 12월 27일
i think it would also be possible to send an email programmatically via thunderbird using the command line
Adam Danz
Adam Danz 2021년 12월 27일
On Windows systems with Microsoft Outlook, you can send email directly through Outlook by accessing the COM server with actxserver.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by