l#g2ddlmZmZGddeZdS))UnionOptionalcreZdZdZdeeedfdeeedfdeefdZdZ e dZ dS) CronJobminutehourcmdrNr r c0||_||_||_dS)Nr)selfrr r s R/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/utils/cronjob.py__init__zCronJob.__init__s  c8d|jd|jd|jdS)Nz6# DO NOT EDIT. AUTOMATICALLY GENERATED BY IMUNIFY360.  z * * * root  r)r s r __str__zCronJob.__str__sF C C C#y C C6:h C C C rcdx}x}}d|D}|rH|dd}|d}|d}d|dd}t|||S)Nc*g|]}|ddk|S)r#).0xs r z$CronJob.from_str..s!===q1rrrr) splitlinessplitjoinr)clsdatarr r lines line_memberss r from_strzCronJob.from_strs"""==DOO--===  - 8>>#..L!!_F?D((<+,,Cf4S9999r) __name__ __module__ __qualname__ __slots__rintstrrrr classmethodr$rrr rrs'I c3n% CdN#  c]       ::[:::rrN)typingrrobjectrrrr r.sQ"""""""":::::f:::::r