PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clcagefslib
/
webisolation
/
crontab
/
__pycache__
� ��5C���� � � d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z m Z ddlmZ dZ ej e� � Zd ed ededefd �Zd edefd�ZdS )z2Hook integration functions for crontab operations.� N)�userdomains� )�ISOLATION_WRAPPER)�parse_crontab_structure�write_crontab_structure)�ParsedCrontabLinez/usr/bin/crontab�username�old_docroot�new_docroot�returnc � � t j t d| dgd�� � }|j dk r#t � d| |j � � dS |j }|st � d| � � dS t |� � }||j vrt � d || � � dS |j � |� � }g }|D ]�}t |t � � r�|� � � } | � d � � } | � d � � � dd� � � }t! j |� � }t! j t&