cron
This commit is contained in:
12
cron.py
Normal file
12
cron.py
Normal file
@@ -0,0 +1,12 @@
|
||||
{config, pkgs, ...}:
|
||||
|
||||
{
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"32 6 * * * root /run/current-system/sw/bin/python3 /home/stormwind/incus-incremental-backups.py >> /var/log/incus-backup.log 2>&1"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ in
|
||||
./incus.nix
|
||||
./drives.nix
|
||||
./prometheus.nix
|
||||
#./cron.nix
|
||||
#./auto-upgrade.nix
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user