disabled email

main
Nickiel12 1 year ago
parent 8c4587544c
commit adf11a891e

@ -164,7 +164,7 @@ rust-project TODO: write shell script for automatically updating `cargoHash`
serviceConfig = {
Type = "oneshot";
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}
'';
};
};

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

Loading…
Cancel
Save