diff --git a/nodes/rx300.py b/nodes/rx300.py index 91db89f..028f56f 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -94,11 +94,6 @@ nodes['rx300'] = { '/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': { 't-online': { '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': { 'version': '1.21.4', 'mail_from': 'travelynx@franzi.business',