diff options
author | EuAndreh <eu@euandre.org> | 2018-07-26 16:00:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-26 16:06:22 -0300 |
commit | 53302600871db7a8fecb20de993eb1de64395c82 (patch) | |
tree | 5f5a342835ab475d3140cc8a2c8082dff68e0cfd /nixos | |
parent | Fixed mbsync crontab (diff) | |
download | dotfiles-53302600871db7a8fecb20de993eb1de64395c82.tar.gz dotfiles-53302600871db7a8fecb20de993eb1de64395c82.tar.xz |
Output all mail cronjob logs to date-named file
This way the file can get old and be garbage collected.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/configuration.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index c82e334..07d424e 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -266,7 +266,7 @@ services = { cron.enable = true; - cron.systemCronJobs = ["* * * * * andreh mbsync -aV &>> /tmp/mbsync.log && notmuch new &>> /tmp/notmuch.log"]; + cron.systemCronJobs = ["* * * * * andreh mbsync -aV &>> /tmp/mbsync.$(date +%Y-%m-%d).log && notmuch new &>> /tmp/notmuch.$(date +%Y-%m-%d).log"]; xserver = { enable = true; |