-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watcher for long computations #125
Comments
This is neat. +1 for adding it to the library once the docstring is included, perhaps in |
Good idea ... +1 for adding it to the library. I have just recently been On Sun, Feb 15, 2015 at 9:22 AM, John Stachurski [email protected]
|
@albop I will write and docstring and include this in the new |
Basic |
@mmcky: where does this one stands ? I just realized that I may have forgotten to make the gist public. |
Hey @albop - thanks for the reminder. Do you want to submit a PR or should I just add this to the utils subpackage? We will probably want to have an email parameter for the test function - otherwise you may get a lot of test responses :). |
Good catch about the email ! That was careless of me... |
Ok - Cool. I will have a look into this feature next week. I really would like this functionality. |
I have been using this code on my server to track long computations: https://gist.github.com/albop/8c94e8694369474f7c85 . It is used to track long computations and send an email when they are finished. It uses a context-manager in the following way:
When the computation is finished it prints on screen the number of days or seconds elapsed and sends a notification by email.
A few easy improvements could be made to it:
What do you think ? If polished a little bit (no docstring), it could be a nice addition.
The text was updated successfully, but these errors were encountered: