rx300: move cron job to systemd timers
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
46e6b0f704
commit
1b3cd8dd10
1 changed files with 9 additions and 5 deletions
|
@ -94,11 +94,6 @@ nodes['rx300'] = {
|
||||||
'/home/kunsi/.weechat',
|
'/home/kunsi/.weechat',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'cron': {
|
|
||||||
'jobs': {
|
|
||||||
'cleanup-paste.franzi.business': '0 0 * * * kunsi /usr/bin/find /var/www/paste.franzi.business/ -maxdepth 1 -type d -mtime +60 -exec rm -r {} \;',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'check-mail-received': {
|
'check-mail-received': {
|
||||||
't-online': {
|
't-online': {
|
||||||
'email': 'franzi.kunsmann@t-online.de',
|
'email': 'franzi.kunsmann@t-online.de',
|
||||||
|
@ -502,6 +497,15 @@ nodes['rx300'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'systemd-timers': {
|
||||||
|
'timers': {
|
||||||
|
'cleanup-paste.franzi.business': {
|
||||||
|
'command': '/usr/bin/find /var/www/paste.franzi.business/ -maxdepth 1 -type d -mtime +60 -exec rm -r {} \;',
|
||||||
|
'user': 'kunsi',
|
||||||
|
'when': 'daily',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
'travelynx': {
|
'travelynx': {
|
||||||
'version': '1.21.4',
|
'version': '1.21.4',
|
||||||
'mail_from': 'travelynx@franzi.business',
|
'mail_from': 'travelynx@franzi.business',
|
||||||
|
|
Loading…
Reference in a new issue