nodes/home.nas: add cronjob
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-12 08:56:38 +02:00
parent 05670ac2bb
commit e3578e669c
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -51,6 +51,10 @@ nodes['home.nas'] = {
'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': {},