mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
#346 Docker cron
This commit is contained in:
parent
dc63b65cc7
commit
d1117945bf
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ fi
|
||||||
LAM_CONFIGURE_CRON="${LAM_CONFIGURE_CRON:-false}"
|
LAM_CONFIGURE_CRON="${LAM_CONFIGURE_CRON:-false}"
|
||||||
if [ "$LAM_CONFIGURE_CRON" = "true" ]; then
|
if [ "$LAM_CONFIGURE_CRON" = "true" ]; then
|
||||||
echo "Configuring Cron"
|
echo "Configuring Cron"
|
||||||
echo "0 0 * * * root /usr/share/ldap-account-manager/lib/runCronJobs.sh all" > /etc/cron.d/ldap-account-manager
|
echo "0 0 * * * www-data /usr/share/ldap-account-manager/lib/runCronJobs.sh all" > /etc/cron.d/ldap-account-manager
|
||||||
/usr/sbin/cron
|
/usr/sbin/cron
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue