add dcim consume schedule
This commit is contained in:
parent
e1ae0b87a7
commit
a28df2d98e
1 changed files with 11 additions and 0 deletions
|
|
@ -5,5 +5,16 @@
|
||||||
../home-default.nix
|
../home-default.nix
|
||||||
../../../modules/syncthing.nix
|
../../../modules/syncthing.nix
|
||||||
../../../modules/media-process.nix
|
../../../modules/media-process.nix
|
||||||
|
../../../modules/schedule.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.scheduled-commands.dcim-consume = {
|
||||||
|
enable = true;
|
||||||
|
description = "Move files in dcim consume folder to DCIM";
|
||||||
|
interval = "*-*-* *:15:00";
|
||||||
|
commands = [
|
||||||
|
"photo-move -d /home/yanlin/Media/dcim-consume /home/yanlin/DCIM"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue