![]() |
|
|
#166 | |
|
"Jerry"
Nov 2011
Vancouver, WA
100011000112 Posts |
Quote:
Edit: attached a manual to sed; there are several implementations but it's not too hard to make it do what you want Edit2: @Dubslow Were you implying that swl551 could just substitue all the mersenne.org with gpu72.com in his source? Last fiddled with by flashjh on 2013-01-08 at 01:35 |
|
|
|
|
|
#167 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
Quote:
PS You can just google around for a sed manual (e.g. google `man sed`), there's many places to find it. Last fiddled with by Dubslow on 2013-01-08 at 01:43 |
|
|
|
|
|
#168 | |
|
Aug 2012
New Hampshire
14508 Posts |
Quote:
Remember my current methodolgy for fetching and reporting to gimps is HTTP GETs through the public web site pages. I already wrote the code to execute gpu72 login and POST with parameters to get work from its assignment page. It just never moved forward and died on the vine. (fully functional) |
|
|
|
|
|
#169 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
I figured out what was wrong with the exit codes. Windows can't read %errorlevel% directly, but with 'Exit' from a batch file, Windows can read the ExitCode as you coded it. However, I was using Exit /B # which didn't work. What I should have been using was just Exit #. So now MISFIT is showing the correct result and only displays the # if > 0.
For the final version, can you make it an option to display the Exit code if > 0? It's helpful to see the ExitCode while in development and for troubleshooting, but once I get everything working I won't need to see it anymore and it's actually kinda reduntant to continually see the error. The only thing I would actually need to know is if the external program failed to run at all, so if you can keep that as an option, that would be nice (though if it's been working fine all along, I wouldn't expect that to be an issue either). Edit: You know I was just thinking that it would be a nice option to have MISFIT email the results of the external run each time. Is that something you could add also? Last fiddled with by flashjh on 2013-01-08 at 01:59 |
|
|
|
|
#170 | |
|
Aug 2012
New Hampshire
32816 Posts |
Quote:
|
|
|
|
|
|
#171 |
|
Aug 2012
New Hampshire
23·101 Posts |
Edit: You know I was just thinking that it would be a nice option to have MISFIT email the results of the external run each time. Is that something you could add also?[/QUOTE]
When the time comes for me to change employers you can expect a knock on your door! |
|
|
|
|
#172 | ||
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Quote:
. If you get tired of the 'request' requests, just let me know.Awesome! Last fiddled with by flashjh on 2013-01-08 at 02:05 |
||
|
|
|
|
#173 |
|
Aug 2012
New Hampshire
23·101 Posts |
|
|
|
|
|
#174 | |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Quote:
MISFIT pre-assign command exit code: ###. ### is the return code which is already displayed. I'm going to expand my pre-assign program to offer several return codes so this will help me in case something doesn't work, but it will also be nice to see a '0' return code when it does run. Since this is almost completely automated now, this will give me an indication that everything is progressing as expected. Last fiddled with by flashjh on 2013-01-08 at 02:51 |
|
|
|
|
|
#175 | |
|
Aug 2012
New Hampshire
23×101 Posts |
Quote:
screenshot of config http://mersenneforum.org/attachment....6&d=1357591606 |
|
|
|
|
|
#176 | |
|
Aug 2012
New Hampshire
23·101 Posts |
Quote:
FlashJH, Please test 2.3.0 beta 4 with these changes. No showing of non zero error codes at all. Only show if fatal error calling external appliation. Results and Errors can be emailed. See new configuration. http://mersenneforum.org/misfit/ Last fiddled with by swl551 on 2013-01-08 at 17:44 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| questions about misfit | jschwar313 | MISFIT | 1 | 2016-02-02 00:32 |
| Help with Misfit | TheMawn | MISFIT | 18 | 2015-06-21 22:00 |
| Misfit feature request. | Aramis Wyler | MISFIT | 15 | 2015-03-04 21:13 |
| MISFIT 2.9 | swl551 | MISFIT | 44 | 2014-12-15 12:46 |
| MISFIT for MFAKTx | swl551 | MISFIT | 186 | 2014-02-05 23:27 |