Activate cron job for seal post commits
parent
bd0138284a
commit
ed8a489eab
|
@ -32,11 +32,10 @@ in
|
|||
# uncomment this to use the staging server
|
||||
# security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||
|
||||
# services.cron = {
|
||||
# enable = true;
|
||||
# systemCronJobs = [
|
||||
# # "12 12 * * * alice . /etc/profile; /home/alice/seal-blog/devops/newSealPost.sh > /home/alice/logs/backup.log 2>&1"
|
||||
# # "* * * * * alice . /etc/profile; /home/alice/seal-blog/devops/newSealPost.sh"
|
||||
# ];
|
||||
# };
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"12 12 * * * alice . /etc/profile; ${pkgs.newSealPost} > /home/alice/logs/backup.log 2>&1"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue