![]() |
![]() |
#12 | |
Sep 2003
22·647 Posts |
![]() Quote:
It's based on the fact that if you create a worktodo.add file (or worktodo.add.txt) in the same working directory as your worktodo.txt file, then the next time the program does a disk write to save the p* savefiles, it will read the "add" file and append its lines to the existing worktodo.txt file. The interval in minutes is specified in the DiskWriteTime= line in prime.txt, and is usually 30 minutes. So you can just look at the timestamp for the most recent p* savefile, and figure out when the next disk write is due. So if you want to edit the worktodo.txt file without stopping Prime95/mprime, you can just go ahead and edit it and then create an empty worktodo.add (or worktodo.add.txt) file. At the next disk write, the program will read the empty "add" file, "append" nothing to the worktodo.txt file, and voilĂ , you've just successfully modified worktodo.txt Note, if you merely edit the worktodo.txt file and fail to create an empty worktodo.add (or worktodo.add.txt) file, then at the next disk write your edits will get overwritten and the original version of worktodo.txt will be restored. This method is primarily useful if you are running mprime on a server, starting automatically at boot time, and don't have a convenient user interface to start and stop it. There is only one way the above method might fail: if an exponent is very close to completing, and actually completes before the next scheduled disk write. The program then overwrites the existing worktodo.txt file, removing the top line to reflect the completion of that exponent, so it will probably undo your edit before it proceeds to read the empty worktodo.add (or worktodo.add.txt) file. I haven't tested this fail scenario though, but I suspect it might happen. |
|
![]() |
![]() |
![]() |
#13 |
Jul 2017
1410 Posts |
![]()
After 24h pausewhilerunning started to work fine (sleeping at chosen time and then restarting), no idea why it needed 24h to start working properly. Hopefully it will stay this way, thank you for all help.
|
![]() |
![]() |
![]() |
#14 |
Jul 2017
2·7 Posts |
![]()
Hi all, so the pausewhilerunning feature seems to work when I start prime95 during period when it is supposed to sleep, it then goes to sleep when I start it, and then resume the work as specified in the prime.txt, e.g.
OutputIterations=10000 ResultsFileIterations=999999999 DiskWriteTime=30 NetworkRetryTime=2 NetworkRetryTime2=70 DaysOfWork=3 DaysBetweenCheckins= 1 NumBackupFiles=3 SilentVictory=0 Priority=1 RunOnBattery=1 WorkPreference=100 ManualComm=1 PauseWhileRunning=*[1] during 1-7/19:07-19:30 PauseCheckInterval=10 [PrimeNet] Debug=0 ProxyHost= ProxyUser= [Worker #1] WorkPreference=100 works fine when I start prime95 between 19:07 and 19:30 however if I start prime95 at 19:00 it will not go to sleep at 19:07 unless I restart it between 19:07 and 19:30, do you have any idea what may be done to fix it? I have had that issue since my last post but would be nice to get it to work properly. Thank you in advance. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
running only at night | phillipkwood | Software | 9 | 2020-09-25 19:17 |
Automatically start Prime95 on the mac | koekie | Software | 2 | 2012-02-06 15:39 |
Can I just start Prime95 by running torture test? | marks9GIMPS | Information & Answers | 5 | 2011-06-05 18:44 |
Start and Stop Prime 95 on Large Groups of Windows XP Machines | MarcGetty | Software | 3 | 2006-03-07 07:54 |
Running all TF and P-1 at night | JuanTutors | Software | 7 | 2004-08-21 13:31 |