Can the PC shut down after FAH client is finished?
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 37
- Joined: Sun Apr 22, 2012 1:35 pm
- Hardware configuration: MSI Z790 ACE | 12700K | Cooler Master Cosmos | TeamGroup 32GB | RTX 4080/4090 | Win10 Pro
- Location: Indy
- Contact:
Can the PC shut down after FAH client is finished?
Is there a way to set the configuration to shut down the PC after you have finished folding for the day (or night)?
-
- Site Admin
- Posts: 7937
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2 - Location: W. MA
Re: Can the PC shut down after FAH client is finished?
Not in the client itself. People have created various methods for monitoring the client to wait for a WU to finish, sometimes including in the script sending the Finish command to the client, and then shutting down their PC after the WU uploads.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
-
- Posts: 20
- Joined: Thu Oct 08, 2020 4:23 pm
- Hardware configuration: Intel Core i5-2320, 2*AMD Sapphire R9 380 Nitro
AMD Ryzen 7 2700X, AMD Sapphire Vega 64 Nitro+ - Location: North Rhine-Westphalia, Germany
Re: Can the PC shut down after FAH client is finished?
This is how I do it:
Open "run" by pressing "Windows key" + "R"
Type -shutdown -s -t amountofseconds (example:" shutdown -s -t 5400 ") --> your PC will shutdown automatically after 90 minutes
Of course for this method you will need to know how long your workunit will take to finish, but it works for me just fine.
Open "run" by pressing "Windows key" + "R"
Type -shutdown -s -t amountofseconds (example:" shutdown -s -t 5400 ") --> your PC will shutdown automatically after 90 minutes
Of course for this method you will need to know how long your workunit will take to finish, but it works for me just fine.
Ryzen 7 2700X, AMD Sapphire Vega64 Nitro+
Intel Core i5-2320, 2*AMD Sapphire R9 380
Re: Can the PC shut down after FAH client is finished?
The OS is responsible for deciding when to shut down, not FAH. If other applications happen to still be running, FAH will have no way to tell the OS how to decide whether it's ok to kill them or not.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 37
- Joined: Sun Apr 22, 2012 1:35 pm
- Hardware configuration: MSI Z790 ACE | 12700K | Cooler Master Cosmos | TeamGroup 32GB | RTX 4080/4090 | Win10 Pro
- Location: Indy
- Contact:
Re: Can the PC shut down after FAH client is finished?
vivatobst wrote:This is how I do it:
Open "run" by pressing "Windows key" + "R"
Type -shutdown -s -t amountofseconds (example:" shutdown -s -t 5400 ") --> your PC will shutdown automatically after 90 minutes
Of course for this method you will need to know how long your workunit will take to finish, but it works for me just fine.
This will work for what I want to do. Sometimes I start a WU that runs longer than expected, like an hour or so after bed time. I don't want to stay up to shut it down, and I don't want the computer to just sit idle all night. Thanks!
Re: Can the PC shut down after FAH client is finished?
I solve that problem by folding 24x7.I don't want the computer to just sit idle all night.
Nevertheless, if you're not using the keyboard/mouse there's not much for it to do except wait for the next command. It can sit like that until morning
This feature has been requested before but unless it's solved for Windows, Linux, and MacOS ... and it can somehow cause FAH to produce MORE science, it's not likely to be included in a future version.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Site Admin
- Posts: 7937
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2 - Location: W. MA
Re: Can the PC shut down after FAH client is finished?
As bruce mentioned, unlikely to be added as a feature. However there is room and support for others to provide that type of function. The third party API is described here - https://github.com/FoldingAtHome/fah-co ... Client-API. That allows programs or scripts to communicate with the client software and monitor or control it.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Re: Can the PC shut down after FAH client is finished?
... but you have to do it yourself. It's not part of FAHClient.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.