mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 19:32:55 +00:00
18 lines
264 B
Python
18 lines
264 B
Python
# coding: utf-8
|
|
#
|
|
|
|
from celery import shared_task
|
|
|
|
from common.utils import get_logger
|
|
from ..utils import LDAPSyncUtil
|
|
|
|
__all__ = ['sync_ldap_user_task']
|
|
|
|
|
|
logger = get_logger(__file__)
|
|
|
|
|
|
@shared_task
|
|
def sync_ldap_user_task():
|
|
LDAPSyncUtil().perform_sync()
|