1

I'd like some tool similar to Rundeck, but with richer abilities to create task forms. In Rundeck, you cannot build the from conditionally based on values of other fields (unless you turn to URLs but that's ugly solution scattering logic into dedicated back-end for forms). As always, I'm not satisfied with what I've found and I'm searching something old-school, that folks used to automate common tasks via Unix scripts for less tech savvy people.

I'd go to CGI but then I'd lose (or have to recreate) the nice things that exists e.g. in Rundeck, like scrolling console output, time-stamps, organizing tasks into projects, etc. Unless there's a magical tool/library/server/system that would do these things for me and let me focus and writing Bash/shell scripts and creating tasks and associated forms.

I'd go even for something more heavyweight used in massive deployments but mature (HTCondor? some task scheduler?).

1 Answer 1

1

Usually automation systems are always complex and the more functionality and flexibility you want from them the more complex they get. Like more things, I recommend using a RDBMS (relational database management system).

Not sure exactly what you are trying to do but it sounds like your want more flexibility and customization. As a rule I would use a relational database that supports triggers/stored procedures and try and keep as much logic and functionality within it. I recommend https://www.postgresql.org/.

--

You can use triggers, write some generic to send via notify or even specific triggers. https://www.postgresql.org/docs/11/sql-notify.html

https://www.postgresql.org/docs/11/plpgsql-trigger.html

If you want to use python for your functions it's easy to add in.

https://www.postgresql.org/docs/11/plpython-funcs.html


Web interface. Whenever I hear web interface I think of using Python Flask if you want to code yourself. Even simpler and less prone to bugs or errors use datatables editor and do the rest of the work in Postgres and maybe a simple dispatch script written in python that listens to notify statements. There is a small fee for Datables Editor but well worth your and others time. I doubt you would be disappointed. If you are alergic to PHP for some reason I would get an allergy shot and just use it. You barely touch it on the backend if you keep your UI simple. Every language/framework has issues. Use what works when it works.

https://editor.datatables.net/examples/simple/simple.html

--

There are drop in rest options as well like https://postgrest.org/ or https://www.graphile.org/postgraphile/ if you ever want more flexibility than datables gives you..

If you don't want to do notify/listen you can run a queue in a simple table in postgres or use rabbitmq or kafka as well.

There are really good complex/commercial applications that might work better but they are pricey and can be complex to operate and setup. If you are not familiar with using Postgres I would give that a try. It's been the best option for me in career.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.