|
[Sponsors] |
I want OpenFOAM to email me when it's done, is this too much to ask?!? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2013, 17:45 |
|
#23 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
That was the objective part. Here comes the advertisement: I implemented a general framework for that in pyFoam (in the runner-utilities to be concrete). If a solver started with one of these utilities stops a number of postRunHooks (which are configured by the user in sections that start with the name postRunHook) are run. Currently the concrete hooks that are implemented are - recording the run in a SQLite database - contacting a webservice at a specific URL and send some information The second one I use regularly. It contacts https://pushover.net and that service sends a message to my phone (which case, whether it ended OK etc). The configuration for that (minus my username and the API-key ) is part of the distribution of pyFoam (you'd just have to insert your username/key and set it to enabled) as an example: it is templatable so any similar webservice could be used. Ah. And BTW: this only sends messages if the run took longer than X seconds. That way my phone doesn't get spammed with runs that don't get past the first timestep Mails could work with these Hooks too, but I haven't had the need for that yet so that is not yet implemented PS: to use pushover you don't have to use pyFoam. That can be easily accessed from shell-scripts too
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160 | rosswin | OpenFOAM Meshing & Mesh Conversion | 0 | March 5, 2013 07:34 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 05:51 |
OpenFOAM Message Board Email notification stopped working | mbeaudoin | OpenFOAM Bugs | 3 | January 8, 2009 22:08 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 13:14 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |