feat: set up the systemd timer for teh binary
This commit is contained in:
parent
b4cadffdb5
commit
cae383a186
2 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,9 @@ name = "update_committee"
|
|||
[[bin]]
|
||||
name = "update_minecraft"
|
||||
|
||||
[[bin]]
|
||||
name = "update_server-icon"
|
||||
|
||||
[dependencies]
|
||||
# discord library
|
||||
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "cache"] }
|
||||
|
|
|
@ -141,6 +141,8 @@
|
|||
"update_committee" = "*:15:00";
|
||||
# minecraft stuff is updated at 5am
|
||||
"update_minecraft" = "5:10:00";
|
||||
# server icon gets updated daily at midnight
|
||||
"update_server-icon" = "0:01:00";
|
||||
};
|
||||
in {
|
||||
options.services."${package_name}" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue