Basically, I want to know if it is common in the industry for devs to write programs that run the whole day — in a scenario similar to mine.
I have a JavaFX program that starts in the morning and only ends at night. It waits for some data to be available on the internet, checks for that data, if available it downloads it, does some calculations, outputs an Excel file, and then just waits and continuously checks for new data to be available at an unknown time later that day. This happens about 8 times each day.
I want to know if this is the way to do it, or if it can be done differently and more efficiently? Maybe there's a way to do it as a web app that would be better?
Any input would be appreciated, thanks!