Commit e9638863 authored by Johannes Barthel's avatar Johannes Barthel
Browse files

re-activate fs deletion, switch to OnUnitInactiveSec

parent 04a16e16
.env
target/
*.deb
\ No newline at end of file
......@@ -53,7 +53,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cleanup-meeting-data"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"lazy_static",
"regex",
......
[package]
name = "cleanup-meeting-data"
version = "0.2.0"
version = "0.2.1"
authors = ["Johannes <johannes@senfcall.de>"]
edition = "2018"
......
......@@ -3,7 +3,7 @@ Description=clean up stale meeting data from /var/bigbluebutton
[Timer]
OnBootSec=5min
OnUnitActiveSec=2min
OnUnitInactiveSec=2min
[Install]
WantedBy=timers.target
......@@ -234,7 +234,7 @@ fn main() {
for dirname in stale_meetings {
print!("deleting {}...", dirname);
//std::fs::remove_dir_all(dirname).unwrap();
std::fs::remove_dir_all(dirname).unwrap();
println!(" removed!");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment