bundles/cron: use MAILTO=, rework metadata syntax
This commit is contained in:
parent
533f8075ca
commit
0d865c93d4
22 changed files with 113 additions and 65 deletions
|
@ -59,15 +59,17 @@ nodes['home.nas'] = {
|
|||
# 'zfs-base': 'storage/backups',
|
||||
#},
|
||||
'cron': {
|
||||
# Ensure every user is able to read and write to the NAS dataset.
|
||||
'nas_permissions': '0 3 * * * root '
|
||||
'chown -R :nas /storage/nas/ && '
|
||||
'find /storage/nas/ -type d -exec chmod 0775 {} \; && '
|
||||
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||
'nas_mixcloud': vault.decrypt('encrypt$gAAAAABgxFkM0Zd8SOhk8aK_zsUY5S39FvyxvEq9TVnAK-ryn9qjrpziqUgNyPXFQBSUHPCV5DX6CW6iSQFGO54truPoaymdHFwchWh3u6bOar_h8x3er3I=').format_into(
|
||||
'0 2 * * * kunsi '
|
||||
'cd /storage/nas/Musik/Compilations && '
|
||||
'wget --mirror --page-requisites --convert-links --domains {0} --execute robots=off https://{0}/'),
|
||||
'jobs': {
|
||||
# Ensure every user is able to read and write to the NAS dataset.
|
||||
'nas_permissions': '0 3 * * * root '
|
||||
'chown -R :nas /storage/nas/ && '
|
||||
'find /storage/nas/ -type d -exec chmod 0775 {} \; && '
|
||||
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||
'nas_mixcloud': vault.decrypt('encrypt$gAAAAABgxFkM0Zd8SOhk8aK_zsUY5S39FvyxvEq9TVnAK-ryn9qjrpziqUgNyPXFQBSUHPCV5DX6CW6iSQFGO54truPoaymdHFwchWh3u6bOar_h8x3er3I=').format_into(
|
||||
'0 2 * * * kunsi '
|
||||
'cd /storage/nas/Musik/Compilations && '
|
||||
'wget --mirror --page-requisites --convert-links --domains {0} --execute robots=off https://{0}/'),
|
||||
},
|
||||
},
|
||||
'groups': {
|
||||
'nas': {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue