![]() |
![]() |
#1 |
Oct 2015
2·7·19 Posts |
![]()
I can't seem to get this working.
Essentially I have a .bat file that writes a list of assignments to a file of my choice (in this case the Misfitworktodo file). I'm picking a different range to what primenet would give me normally, so this is some code (which I know works since I can run it manually) to do that. Essentially what I want to do is have it keep a little over an hours work on hand. I know how many assignments to fetch for an hours work so this is in the .bat file. In the work mgmt tab, I have the first two set as 1000GHz days, which, since I'm only getting a small number of assignments, should drain the whole file (if it exists) every time the stats run (every 5 minutes). In the work fetch tab, I have selected Execute external command, check every 1 hour, and fetch when misfitworktodo drops below 1000GHzDays. As with the work management, it will never get this high so it should run every time. i.e. once per hour. So theoretically, once an hour, it will run the command, put the results into the misfit file, wait until the stats run (up to 5 minutes later), and then send them across to mfaktc (via worktodo.add). I leave the argument blank, and in the CMD field I've tried both run <path to .bat file> and <path to .bat file> and neither seem to run the bat file (i.e. the number of tasks never increase) At the moment, I just have the .bat file writing to worktodo.add and run it a few times to build up a supply (so I know the bat file works). Is there something I'm missing? |
![]() |
![]() |
![]() |
#2 | |
Aug 2012
New Hampshire
23·101 Posts |
![]() Quote:
I just walked a test through the debugger where I set the external fetching command to notepad and the argument to dummy.txt and MISFIT launched notepad looking for file dummy.txt. So the external fetch interface works fine. See screenshot where putting in dummy external command value produces the expected error from within MISFIT. Screenshots from you could be helpful. Thanks Scott |
|
![]() |
![]() |
![]() |
#3 |
Oct 2015
1000010102 Posts |
![]()
Thanks. I'll give it another test and get some screenshots when I get home.
Last fiddled with by 0PolarBearsHere on 2016-02-29 at 04:03 |
![]() |
![]() |
![]() |
#4 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
5×911 Posts |
![]()
..
|
![]() |
![]() |
![]() |
#5 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
11CB16 Posts |
![]()
...
|
![]() |
![]() |
![]() |
#6 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
107138 Posts |
![]()
might be because system clock got set back to 2010 after last power outage....closer look at that tomorrow....
|
![]() |
![]() |
![]() |
#7 |
Aug 2012
New Hampshire
23·101 Posts |
![]() |
![]() |
![]() |
![]() |
#8 |
Oct 2015
1000010102 Posts |
![]()
Just to let you all know. I've worked out why it wasn't working.
I was trying to run the bat file using the cmd entry, rather than as an argument for cmd.exe working config ----- CMD: Code:
C:\Windows\System32\cmd.exe Code:
/c <path to bat file> |
![]() |
![]() |
![]() |
#9 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
455510 Posts |
![]()
...
I even rebooted.... no change. I can obviously access the internet since I am sending this from the same PC PS Changed it to fetch from GIMPS and it works....but not from GPU72 Last fiddled with by petrw1 on 2016-07-29 at 21:27 |
![]() |
![]() |
![]() |
#10 |
If I May
"Chris Halsall"
Sep 2002
Barbados
224118 Posts |
![]() |
![]() |
![]() |
![]() |
#11 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
5·911 Posts |
![]()
The vote against this theory...is I have 2 PCs with GPUs both fetching work from GPU72 via MisFit. The other works.
The only difference is that the one that stopped fetching successfully (on the 27th) is Win-7 the other has been upgraded to Win-10 a few months ago. Do they get/check certs differently? |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic fetch of Trial Factoring work for GPU mfakt* | LaurV | GPU to 72 | 81 | 2020-12-02 05:17 |
Pari gp Command divisors() ? | Godzilla | PARI/GP | 30 | 2018-03-03 18:15 |
Automatic submit results + fetch assignments for mfaktc? | DuskFalls | GPU Computing | 5 | 2017-12-02 00:34 |
unable to fetch assignments | dragonbud20 | MISFIT | 2 | 2016-10-18 08:01 |
Need an extra brain? Try an external one! | ewmayer | Lounge | 3 | 2009-02-04 20:51 |