Skip to content

Commit

Permalink
fix info messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kafisatz committed Jan 16, 2025
1 parent 335d10f commit ad30aab
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

export monitor_instance
function monitor_instance(cfg)
println("#"^200)
ts2 = timestring()
ts3 = "Europe/Zurich now = $(ts2)"
println(baseurl * " - " * ts3 * " - Number of torrents: $(ntorrents)")


#cfg = cfgs[2]
baseurl = cfg.url
uptimekumaurl = cfg.uptimekumaurl
Expand Down Expand Up @@ -51,11 +57,6 @@ function monitor_instance(cfg)
end
end

ts2 = timestring()
ts3 = "Europe/Zurich now = $(ts2)"
println("#"^200)
println(baseurl * " - " * ts3 * " - Number of torrents: $(ntorrents)")

msg = "Nb. of deleted Torrents = $(ndeleted) - space used = $(space_usage_tib) TiB - space left until pruning = $(space_left_tib_until_torrent_pruning_starts) TiB - threshold = $(THRESHOLD_IN_TIB) TiB"
println(msg)

Expand Down

0 comments on commit ad30aab

Please sign in to comment.