I would like to know how to run make a terminal program run automatically at reboot with preset input variables. What I am trying to do is run bro control which is a terminal program that requires input. I know that when you run cron jobs, that are terminal commands, it does not show the terminal screen. I would like it to run like that in the background with predefined inputs. The command also needs root permissions which if there is a cron job way of doing this, that is easy, just put it in your root cron tab.An example of the code to be run automatically:  broctl  startexit  last time I ask this question no one had an answer. I am hoping that by making it broader and more understandable someone will have an answer. I have researched this and cannot find an answer. Hopefully, someone will know the way to do this. By the way, I am running Linux-Mint.
how to run make a terminal program run automatically at reboot with preset input variables
linux mint;terminal;cron;input
Save your desired input into a file, and pass that file as an input argument to the program. my_command --some_flags_if_needed < path/to/file/containing/input