Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for command line state control #119

Open
Josh65-2201 opened this issue Feb 19, 2023 · 6 comments
Open

Add support for command line state control #119

Josh65-2201 opened this issue Feb 19, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@Josh65-2201
Copy link

Josh65-2201 commented Feb 19, 2023

V7 has support for starting (--send-unpause), pausing (--send-pause) and finishing (--send-finish) via the command line for use in task scheduler. I can't find these for v8

@Josh65-2201 Josh65-2201 changed the title Add supprot for command line control Add support for command line state control Mar 1, 2023
@kbernhagen
Copy link
Contributor

Until the client supports those commands, you might try my script:

lufah - Little Utility for FAH v8

@jcoffland jcoffland added the enhancement New feature or request label Mar 9, 2023
@marcosfrm
Copy link
Contributor

These options are very useful for text only servers. Other possible candidates:

  • Get/set configuration: --send-command 'options cfg1=value1 cfg2=value2' (cfg1 to get, cfg1! to use default value).
  • Queue information: --send-command queue-info.
  • Dump WU. In v7: --send-command 'slot-delete 00' (or 01, etc).

@jcoffland
Copy link
Member

I wonder if a Python interface might be more useful than how this was implemented in v7. A Python script/library could also be run in a continuous mode where it constantly monitored a client. It could also login to your F@H account and give you access to all your machines.

The only downside I see is that Windows users would need to install Python but these days that's pretty easy. Microsoft even offers it in their app store.

@kbernhagen
Copy link
Contributor

kbernhagen commented Feb 9, 2024

There is also no python by default on macOS.

If you try to run python3 the system may offer to install command line developer tools, which includes python3. If one just wants python, they need to download from python.org.

@kbernhagen
Copy link
Contributor

My lufah script is python, runs on all platforms, and is working well for me.

My python skills are admittedly weak. There is no chance of adding node support without a lot of help.

@kbernhagen
Copy link
Contributor

I have not used it, but there is https://pyinstaller.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants