new to julia and so still learning the basics. I have a log file that another system updates about every 1 second. It’s just a simple text file and each “row” is about 1k bytes. I just want to get the “updates” so I thought to just check every 0.5 second.
Right now I have this working BUT is there a better way?
file = open("the_log_file.log") seekend(file) # keep sniffing the last entry only. while true sleep(0.5) data = read(file, String) !isempty(data) && print(data) end