in reply to Best/Fast/Simple way to add a GUI to a batch process

I have only a very limited experience in terms of GUI, but it could be that the simplest solution would be a Web type of interface from a browser.

This is just a suggestion, possibly a silly one, please other monks correct me if this is more complicated than I think.

  • Comment on Re: Best/Fast/Simple way to add a GUI to a batch process

Replies are listed 'Best First'.
Re^2: Best/Fast/Simple way to add a GUI to a batch process
by bliako (Abbot) on Aug 27, 2018 at 19:03 UTC

    I second that.

    Basically the batch process communicates its progress via a local log file which the web interface via a simple cgi script reads and then formats the progress. I can also imagine killing the batch job via another cgi script. And spawning a batch job as well, after ticking some boxes on the web interface regarding options/preferences. The web interface can keep track of multiple batch jobs running, via their pid.

    The system could equally support 1 user running a single job on their private computer or several users who each logs in and checks their own batch jobs even remotely. Can also send email on certain events.

Re^2: Best/Fast/Simple way to add a GUI to a batch process
by zentara (Cardinal) on Aug 27, 2018 at 20:42 UTC
    Hi, there is no advantage to a web interface, which is quite insecure if you follow the news. What about the problem of cancelling a running program quickly? I wouldn't run any important program over a web interface. Why should your precious data output be filtered thru an apache module, or a browser filter?

    A console or even a Tk app can be run remotely via ssh with -X enabled. You have full control that way.

    <2 cents> Why not use a browser? Its not worth the bloat and risk. Just my opinion. P.S. If you do run it thru a browser be sure to use alot of javascript, so your browser can make umpteen network connections while you run your program. :-) Browsers are insecure, period. The various agencies have their backdoors in every browser. </2 cents>


    I'm not really a human, but I play one on earth. ..... an animated JAPH
Re^2: Best/Fast/Simple way to add a GUI to a batch process
by vitoco (Hermit) on Aug 27, 2018 at 20:15 UTC

    I would also second this, but unfortunatelly it is not an option. I cannot install neither perl nor a mini site in the server. :-(