mio-ops/roles/cron-craige.nix
Craige McWhirter 6d747fc9a3
Moved cron jobs
2020-10-10 14:10:55 +10:00

17 lines
436 B
Nix

# NixOps configuration for Craige's cron jobs
{ config, pkgs, ... }:
{
services.cron = {
enable = true; # Enable cron service
systemCronJobs = [
# Taskwarrior syncing
"*/5 * * * * craige /run/current-system/sw/bin/task sync >> /home/craige/.tasksync.log 2>&1"
"*/5 * * * * craige /run/current-system/sw/bin/task rc:~/.taskrc_obair sync >> /home/craige/.tasksync_obair.log 2>&1"
];
};
}