diff --git a/manifests/aes_sw.pp b/manifests/aes_sw.pp
index e8c780cd127f3205ce7013a424c748b5e3e72de0..d6be61e81a100f456a524671b3254b22719dfa21 100644
--- a/manifests/aes_sw.pp
+++ b/manifests/aes_sw.pp
@@ -87,6 +87,17 @@ class aes::aes_sw {
     | MSCRON
   }
 
+  file { '/etc/cron.daily/aes_login':
+    ensure  => file,
+    owner   => root,
+    group   => root,
+    mode    => '0700',
+    content => @(MSCRON),
+    #!/bin/sh
+    /usr/bin/systemctl restart aes_login
+    | MSCRON
+  }
+
   # todo: logrotate
   service { 'aes_ms' :
     ensure => 'running',