2020-10-10 04:10:55 +00:00
|
|
|
# NixOps configuration for Craige's cron jobs
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
services.cron = {
|
2021-11-16 04:57:23 +00:00
|
|
|
enable = true; # Enable cron service
|
2020-10-10 04:10:55 +00:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|