send notification when you finish executing a script in R










1















I need to send a notification when I finish processing a predictions I am making,



I have an idea to create an ETL process that validates a value. This value would be written in DB 1 = if the process ends, 0 = the process has not finished. When the prediction ends, it should trigger a sending of an email, but I don't know if it is the best strategy.



Does anyone have other idea?










share|improve this question




























    1















    I need to send a notification when I finish processing a predictions I am making,



    I have an idea to create an ETL process that validates a value. This value would be written in DB 1 = if the process ends, 0 = the process has not finished. When the prediction ends, it should trigger a sending of an email, but I don't know if it is the best strategy.



    Does anyone have other idea?










    share|improve this question


























      1












      1








      1


      1






      I need to send a notification when I finish processing a predictions I am making,



      I have an idea to create an ETL process that validates a value. This value would be written in DB 1 = if the process ends, 0 = the process has not finished. When the prediction ends, it should trigger a sending of an email, but I don't know if it is the best strategy.



      Does anyone have other idea?










      share|improve this question
















      I need to send a notification when I finish processing a predictions I am making,



      I have an idea to create an ETL process that validates a value. This value would be written in DB 1 = if the process ends, 0 = the process has not finished. When the prediction ends, it should trigger a sending of an email, but I don't know if it is the best strategy.



      Does anyone have other idea?







      r






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '18 at 15:35









      SHR

      5,97072441




      5,97072441










      asked Nov 14 '18 at 12:43









      Willy SepulvedaWilly Sepulveda

      93




      93






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Try using mailR package for sending an e-mail.



          So if that doesn't work, you can use a combination of the



          system()


          command and the answer from this question:
          https://superuser.com/questions/31917/is-there-a-way-to-show-notification-from-bash-script-in-ubuntu






          share|improve this answer

























          • Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

            – Willy Sepulveda
            Nov 14 '18 at 15:52











          • superuser.com/questions/31917/…

            – Lorenzo M
            Nov 14 '18 at 16:08











          • thank you so much

            – Willy Sepulveda
            Nov 14 '18 at 16:12










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300514%2fsend-notification-when-you-finish-executing-a-script-in-r%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Try using mailR package for sending an e-mail.



          So if that doesn't work, you can use a combination of the



          system()


          command and the answer from this question:
          https://superuser.com/questions/31917/is-there-a-way-to-show-notification-from-bash-script-in-ubuntu






          share|improve this answer

























          • Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

            – Willy Sepulveda
            Nov 14 '18 at 15:52











          • superuser.com/questions/31917/…

            – Lorenzo M
            Nov 14 '18 at 16:08











          • thank you so much

            – Willy Sepulveda
            Nov 14 '18 at 16:12















          1














          Try using mailR package for sending an e-mail.



          So if that doesn't work, you can use a combination of the



          system()


          command and the answer from this question:
          https://superuser.com/questions/31917/is-there-a-way-to-show-notification-from-bash-script-in-ubuntu






          share|improve this answer

























          • Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

            – Willy Sepulveda
            Nov 14 '18 at 15:52











          • superuser.com/questions/31917/…

            – Lorenzo M
            Nov 14 '18 at 16:08











          • thank you so much

            – Willy Sepulveda
            Nov 14 '18 at 16:12













          1












          1








          1







          Try using mailR package for sending an e-mail.



          So if that doesn't work, you can use a combination of the



          system()


          command and the answer from this question:
          https://superuser.com/questions/31917/is-there-a-way-to-show-notification-from-bash-script-in-ubuntu






          share|improve this answer















          Try using mailR package for sending an e-mail.



          So if that doesn't work, you can use a combination of the



          system()


          command and the answer from this question:
          https://superuser.com/questions/31917/is-there-a-way-to-show-notification-from-bash-script-in-ubuntu







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 14 '18 at 17:37

























          answered Nov 14 '18 at 15:42









          Lorenzo MLorenzo M

          584




          584












          • Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

            – Willy Sepulveda
            Nov 14 '18 at 15:52











          • superuser.com/questions/31917/…

            – Lorenzo M
            Nov 14 '18 at 16:08











          • thank you so much

            – Willy Sepulveda
            Nov 14 '18 at 16:12

















          • Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

            – Willy Sepulveda
            Nov 14 '18 at 15:52











          • superuser.com/questions/31917/…

            – Lorenzo M
            Nov 14 '18 at 16:08











          • thank you so much

            – Willy Sepulveda
            Nov 14 '18 at 16:12
















          Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

          – Willy Sepulveda
          Nov 14 '18 at 15:52





          Unfortunately it did not work, I do not have the permissions in the firewall, or the corporate gmail account for this, is it possible to do this in another way? that is the challenge

          – Willy Sepulveda
          Nov 14 '18 at 15:52













          superuser.com/questions/31917/…

          – Lorenzo M
          Nov 14 '18 at 16:08





          superuser.com/questions/31917/…

          – Lorenzo M
          Nov 14 '18 at 16:08













          thank you so much

          – Willy Sepulveda
          Nov 14 '18 at 16:12





          thank you so much

          – Willy Sepulveda
          Nov 14 '18 at 16:12



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300514%2fsend-notification-when-you-finish-executing-a-script-in-r%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          How to read a connectionString WITH PROVIDER in .NET Core?

          Node.js Script on GitHub Pages or Amazon S3

          Museum of Modern and Contemporary Art of Trento and Rovereto