disabled email

This commit is contained in:
Nickiel12 2023-09-10 22:02:19 -07:00
parent 8c4587544c
commit adf11a891e
2 changed files with 4 additions and 4 deletions

View file

@ -164,7 +164,7 @@ rust-project TODO: write shell script for automatically updating `cargoHash`
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = '' ExecStart = ''
${cfg.package}/bin/time_tracker -d --config-file ${builtins.toString cfg.config_path} ${cfg.package}/bin/time_tracker --config-file ${builtins.toString cfg.config_path}
''; '';
}; };
}; };

View file

@ -195,8 +195,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
if do_email_summary { if do_email_summary {
debug!("Send email selected"); debug!("Send email selected");
reset_email_checkbox(&cfg); //reset_email_checkbox(&cfg);
send_email_summary(&cfg, body_content); //send_email_summary(&cfg, body_content);
} }
Ok(()) Ok(())
@ -381,7 +381,7 @@ fn send_email_summary(config: &Config, body_content: Vec<String>) {
match mailer.send(&email) { match mailer.send(&email) {
Ok(val) => debug!("email sent: {:?}", val), Ok(val) => debug!("email sent: {:?}", val),
Err(e) => debug!("Couldn't send email {}", e) Err(e) => error!("Couldn't send email {}", e)
}; };
} }