mio-ops/profiles/cron-craige.nix

17 lines
436 B
Nix
Raw Normal View History

2020-10-10 04:10:55 +00:00
# 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"
];
};
}