mio-ops/profiles/cron-craige.nix

16 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"
];
};
}