I've been folding for a while now on my mac. I start the web client at the end of my work day and stop it again in the morning.
I've moved that computer into a cupboard and I'd like to set the start/stop to happen automatically.
I'm fairly sure that is possible, but I can't find any examples on how to do it.
If anyone has instructions or even can point me in the right direction of what terminal commands I should run I can figure out the rest, it's just how to start/stop folding from command line I'm stuck on.
Thanks in advance
Lewis
Run folding overnight?
Moderators: Site Moderators, FAHC Science Team
Re: Run folding overnight?
Windows - https://foldingathome.org/support/faq/i ... on/?lng=en
Linux - https://foldingathome.org/support/faq/i ... ns/?lng=en
Mac - https://foldingathome.org/support/faq/i ... ns/?lng=en
Note - The vast majority of us fold 24/7 so don't have a need to automatically start/stop the client.
Linux - https://foldingathome.org/support/faq/i ... ns/?lng=en
Mac - https://foldingathome.org/support/faq/i ... ns/?lng=en
Note - The vast majority of us fold 24/7 so don't have a need to automatically start/stop the client.
-
- Site Moderator
- Posts: 1161
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Run folding overnight?
Code: Select all
FAHClient —send-pause
FAHClient —send-unpause
Re: Run folding overnight?
You'll probably have to run the command automatically at a specific time.
You can run an .sh file (with executable enabled), and use the at command:
https://www.linuxjournal.com/content/sc ... -unix-tool
I have no experience on making it run automatically from boot, but I'm sure you can figure it out with a little browsing.
You can run an .sh file (with executable enabled), and use the at command:
https://www.linuxjournal.com/content/sc ... -unix-tool
I have no experience on making it run automatically from boot, but I'm sure you can figure it out with a little browsing.
Re: Run folding overnight?
I saw this, but it doesn't actually answer my question, and the man page is super long and doesn't actually mention `—send-pause` or `—send-unpause`. It's good to know I'm an edge case though, thank you. I wonder if more people would run folding if there was a one click way to just have it run overnight. In my experience the "don't run when I'm using my computer" option in the web ui doesn't work on the macOS version. I'm probably an edge cases being on macOS TBH.aetch wrote:Mac - https://foldingathome.org/support/faq/i ... ns/?lng=en
Perfect, thank you!calxalot wrote:Code: Select all
FAHClient —send-pause FAHClient —send-unpause
Although I haven't done it before, I'm confident I can figure this bit out, thank you From my basic research, the macOS way to do this is with `launchd` and Lingon X seems to be the recommended GUI for interfacing with it.MeeLee wrote:You'll probably have to run the command automatically at a specific time.
Thanks everyone, this is a great community.
-
- Site Moderator
- Posts: 1161
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Run folding overnight?
For FAHClient on macOS, idle is when the computer turns off the display, or when the login window is showing.
Re: Run folding overnight?
There are many ways to schedule things in MacOS, from launchd to cron. MacOS does have a traditional crontab if that's what you want to use.
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
Re: Run folding overnight?
I should try this again as perhaps I misunderstood the UI. I thought I had it set to "idle only" and it ran anyway.calxalot wrote:For FAHClient on macOS, idle is when the computer turns off the display, or when the login window is showing.