jalnor / os_monitoring_tool

A tool that monitors processes as they start and stop and saves the information to a database.
MIT License
1 stars 0 forks source link

Fixed adding data to database with foreign key #20

Closed jalnor closed 2 years ago

jalnor commented 2 years ago

Modified models adding Optional to both started and stopped. My thinking, the process is either running or it isn't. The database will still have start times if the process is started when a capture happens. But if it is stopped then I don't want to confuse the user by showing a previous start time along with a stop time. They can get that from historical data.

A future feature could be graphing this type of data in application.