aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-26 16:00:00 -0300
committerEuAndreh <eu@euandre.org>2018-07-26 16:06:22 -0300
commit53302600871db7a8fecb20de993eb1de64395c82 (patch)
tree5f5a342835ab475d3140cc8a2c8082dff68e0cfd /nixos
parentFixed mbsync crontab (diff)
downloaddotfiles-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.nix2
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;