Page 1 of 1

Batch file to Pause/Restart FAH

Posted: Sat Dec 23, 2023 5:54 am
by Rich
Problem: I need to pause and resume FAH to run a system backup (otherwise I randomly get a pile of "File not found" msgs.).

This old thread points to a batch file but is incomplete. I can't find a list of commands ("viewtopic..." is meaningless to me). I understand Batch files in Windows.
====================
" FoldingFodder wrote:
...Instruct it to run/pause - certain times of the day and if certain applications are running...

Currently, there's no intelligence in the client to detect what application is running and modify it's behavior. Best case is you have a batch file which sends the pause command and another one with the unpause command: viewtopic.php?f=89&t=33296"
===================

System Win 11, FAH Client 7.6.21

Any help appreciated.

Richard

Re: Batch file to Pause/Restart FAH

Posted: Sat Dec 23, 2023 6:06 am
by calxalot

Code: Select all

FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-finish
FAHClient --help
FAHClient --send-command help
Edit: sorry, my phone insisted on creating em dashes

Re: Batch file to Pause/Restart FAH

Posted: Sat Dec 23, 2023 6:09 am
by Rich
Thanks!

Is that a "--" (double dash)?

Richard

Re: Batch file to Pause/Restart FAH

Posted: Sat Dec 23, 2023 6:15 am
by Joe_H
Old links in the forum were broken when it was transferred to a new host and to a new version of the forum software in April '22. That "viewtopic" is a partial link that should be viewtopic.php?f=89&t=33296. Any of the partial links can be appended to https://foldingforum.org/ and will connect to the original post or topic as long as it still exists on the forum.

And yes, that is a double dash.

Re: Batch file to Pause/Restart FAH

Posted: Sat Dec 23, 2023 6:41 am
by Rich
Thanks Joe, and that answers my Q about -- or?... it is a --.
Problem solved.
Richard