Revert "Don't launch cron jobs when systemd is running"
This reverts commit e77e2c1261
.
This commit is contained in:
parent
77490381d0
commit
c69044f0ed
|
@ -1,5 +1,4 @@
|
|||
#
|
||||
# Regular cron jobs for the Lemonldap::NG handler
|
||||
# Launched only if systemd isn't running
|
||||
# Regular cron jobs for LemonLDAP::NG Handler
|
||||
#
|
||||
17-59/30 * * * * www-data [ -d /run/systemd/system ] || [ ! -x /usr/share/lemonldap-ng/bin/purgeLocalCache ] || /usr/share/lemonldap-ng/bin/purgeLocalCache
|
||||
17-59/30 * * * * www-data [ -x /usr/share/lemonldap-ng/bin/purgeLocalCache ] && /usr/share/lemonldap-ng/bin/purgeLocalCache
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#
|
||||
# Regular cron jobs to clean Lemonldap::NG sessions DB
|
||||
# Launched only if systemd isn't running
|
||||
# Regular cron jobs for LemonLDAP::NG Portal
|
||||
#
|
||||
7 * * * * www-data [ -d /run/systemd/system ] || [ ! -x /usr/share/lemonldap-ng/bin/purgeCentralCache ] || /usr/share/lemonldap-ng/bin/purgeCentralCache
|
||||
7 * * * * www-data [ -x /usr/share/lemonldap-ng/bin/purgeCentralCache ] && /usr/share/lemonldap-ng/bin/purgeCentralCache
|
||||
|
|
Loading…
Reference in New Issue