Add cronjob to change permission of backup file
This commit is contained in:
parent
2775954be3
commit
2fca67f7bf
1 changed files with 7 additions and 0 deletions
|
@ -126,5 +126,12 @@ in
|
|||
prCommitsPerRunLimit = 0;
|
||||
};
|
||||
};
|
||||
|
||||
cron = {
|
||||
enable = true;
|
||||
systemCronJobs = {
|
||||
"30 20 * * * root chmod 660 /backups/forgejo_backup.tar.gz"
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue