Add systemd timer (replace cron)

This commit is contained in:
Xavier 2019-05-19 23:28:52 +02:00
parent dbb2aa093e
commit c47091b944
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[Unit]
Description=Purge Lemonldap::NG handler cache every 30 minutes
[Timer]
OnCalendar=*-*-* *:17,47:00
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Clean Lemonldap::NG sessions DB every 1h
[Timer]
OnCalendar=*-*-* *:07:07
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Purge Lemonldap::NG handler cache every 30 minutes
[Timer]
OnCalendar=*-*-* *:17,47:00
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Clean Lemonldap::NG sessions DB every 1h
[Timer]
OnCalendar=*-*-* *:07:07
Persistent=true
[Install]
WantedBy=timers.target