??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó àUdac@`sddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l Z dd l Z dd l Z dd l Z dd lZdd lmZmZdd lmZmZdd lmZdefd„ƒYZdefd„ƒYZd„Zedkreƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys  --- module: cron short_description: Manage cron.d and crontab entries description: - Use this module to manage crontab and environment variables entries. This module allows you to create environment variables and named crontab entries, update, or delete them. - 'When crontab jobs are managed: the module includes one line with the description of the crontab entry C("#Ansible: ") corresponding to the "name" passed to the module, which is used by future ansible/module calls to find/check the state. The "name" parameter should be unique, and changing the "name" value will result in a new cron task being created (or a different one being removed).' - When environment variables are managed, no comment line is added, but, when the module needs to find/check the state, it uses the "name" parameter to find the environment variable definition line. - When using symbols such as %, they must be properly escaped. version_added: "0.9" options: name: description: - Description of a crontab entry or, if env is set, the name of environment variable. - Required if C(state=absent). - Note that if name is not set and C(state=present), then a new crontab entry will always be created, regardless of existing ones. - This parameter will always be required in future releases. type: str user: description: - The specific user whose crontab should be modified. - When unset, this parameter defaults to using C(root). type: str job: description: - The command to execute or, if env is set, the value of environment variable. - The command should not contain line breaks. - Required if C(state=present). type: str aliases: [ value ] state: description: - Whether to ensure the job or environment variable is present or absent. type: str choices: [ absent, present ] default: present cron_file: description: - If specified, uses this file instead of an individual user's crontab. - If this is a relative path, it is interpreted with respect to I(/etc/cron.d). - If it is absolute, it will typically be I(/etc/crontab). - Many linux distros expect (and some require) the filename portion to consist solely of upper- and lower-case letters, digits, underscores, and hyphens. - To use the C(cron_file) parameter you must specify the C(user) as well. type: str backup: description: - If set, create a backup of the crontab before it is modified. The location of the backup is returned in the C(backup_file) variable by this module. type: bool default: no minute: description: - Minute when the job should run ( 0-59, *, */2, etc ) type: str default: "*" hour: description: - Hour when the job should run ( 0-23, *, */2, etc ) type: str default: "*" day: description: - Day of the month the job should run ( 1-31, *, */2, etc ) type: str default: "*" aliases: [ dom ] month: description: - Month of the year the job should run ( 1-12, *, */2, etc ) type: str default: "*" weekday: description: - Day of the week that the job should run ( 0-6 for Sunday-Saturday, *, etc ) type: str default: "*" aliases: [ dow ] reboot: description: - If the job should be run at reboot. This option is deprecated. Users should use special_time. version_added: "1.0" type: bool default: no special_time: description: - Special time specification nickname. type: str choices: [ annually, daily, hourly, monthly, reboot, weekly, yearly ] version_added: "1.3" disabled: description: - If the job should be disabled (commented out) in the crontab. - Only has effect if C(state=present). type: bool default: no version_added: "2.0" env: description: - If set, manages a crontab's environment variable. - New variables are added on top of crontab. - C(name) and C(value) parameters are the name and the value of environment variable. type: bool default: no version_added: "2.1" insertafter: description: - Used with C(state=present) and C(env). - If specified, the environment variable will be inserted after the declaration of specified environment variable. type: str version_added: "2.1" insertbefore: description: - Used with C(state=present) and C(env). - If specified, the environment variable will be inserted before the declaration of specified environment variable. type: str version_added: "2.1" requirements: - cron author: - Dane Summers (@dsummersl) - Mike Grozak (@rhaido) - Patrick Callahan (@dirtyharrycallahan) - Evan Kaufman (@EvanK) - Luca Berruti (@lberruti) s - name: Ensure a job that runs at 2 and 5 exists. Creates an entry like "0 5,2 * * ls -alh > /dev/null" cron: name: "check dirs" minute: "0" hour: "5,2" job: "ls -alh > /dev/null" - name: 'Ensure an old job is no longer present. Removes any job that is prefixed by "#Ansible: an old job" from the crontab' cron: name: "an old job" state: absent - name: Creates an entry like "@reboot /some/job.sh" cron: name: "a job for reboot" special_time: reboot job: "/some/job.sh" - name: Creates an entry like "PATH=/opt/bin" on top of crontab cron: name: PATH env: yes job: /opt/bin - name: Creates an entry like "APP_HOME=/srv/app" and insert it after PATH declaration cron: name: APP_HOME env: yes job: /srv/app insertafter: PATH - name: Creates a cron file under /etc/cron.d cron: name: yum autoupdate weekday: "2" minute: "0" hour: "12" user: root job: "YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file: ansible_yum-autoupdate - name: Removes a cron file from under /etc/cron.d cron: name: "yum autoupdate" cron_file: ansible_yum-autoupdate state: absent - name: Removes "APP_HOME" environment variable from crontab cron: name: APP_HOME env: yes state: absent N(t AnsibleModulet get_platform(tto_bytest to_native(t shlex_quotet CronTabErrorcB`seZRS((t__name__t __module__(((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR ÜstCronTabcB`s eZdZddd„Zd„Zd„Zdd„Zd„Zd„Z d„Z d„Z d „Z d „Z ddd „Zd „Zd „Zd„Zd„Zd„Zdd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(sÄ CronTab object to write time based crontab file user - the user of the crontab (defaults to root) cron_file - a cron file under /etc/cron.d, or an absolute path cC`sì||_||_tjƒdk|_d|_d|_d|_|jj ddt ƒ|_ |rÕtj j |ƒr–||_t|ddƒ|_qÞtj jd|ƒ|_tj jdt|ddƒƒ|_n d|_|jƒdS( Nis #Ansible: ttcrontabtrequiredterrorstsurrogate_or_stricts /etc/cron.d(tmoduletusertostgetuidtroottNonetlinestansiblet n_existingt get_bin_pathtTruetcron_cmdtpathtisabst cron_fileR t b_cron_filetjointread(tselfRRR$((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt__init__ès      ' c C`s±g|_|jr yMt|jdƒ}t|jƒddƒ|_|jjƒ|_|jƒWq­t k rsdSt k rœt dt j ƒdƒ‚q­Xn |jj|jƒdtƒ\}}}|dkrî|dkrît dƒ‚n||_|jƒ}d}x¡|D]™}|d ks[tjd |ƒ rntjd |ƒ rntjd |ƒ rn|jj|ƒn1tj|ƒd }tj|d|jdƒ|_|d7}qWdS(NtrbRRsUnexpected error:ituse_unsafe_shellisUnable to read crontabis8# DO NOT EDIT THIS FILE - edit the master and reinstall.s# \(/tmp/.*installed on.*\)s# \(.*version.*\)s[ ]?R(RR$topenR%R R'Rt splitlinestclosetIOErrort ExceptionR tsystexc_infoRt run_commandt_read_user_executeR tretmatchtappendtescapetsub( R(tftrctoutterrRtcounttltpattern((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR'ýs2     '   cC`s!t|jƒdkrtStSdS(Ni(tlenRR tFalse(R(((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pytis_empty!scC`s@|rt|dƒ}na|jr6t|jdƒ}nCtjddƒ\}}tj|tddƒƒtj|dƒ}|j t |j ƒƒƒ|j ƒ|r¦dS|js |j j|j|ƒdtƒ\}}}tj|ƒ|dkr |j jd |ƒq n|j jƒr<|jr<|j j|jtƒndS( sI Write the crontab to the system. Saves all information. twbtprefixRt0644iNR+itmsg(R,R$R%ttempfiletmkstempRtchmodtinttfdopentwriteR trenderR.RR3t_write_executeR tunlinkt fail_jsontselinux_enabledtset_default_selinux_contextRB(R(t backup_filetfilehtfiledR"R;R<R=((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRM's$   *  cC`sd|j|fS(Ns%s%s(R(R(tname((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt do_commentHscC`s1|jj|j|ƒƒ|jjd|ƒdS(Ns%s(RR7RX(R(RWtjob((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pytadd_jobKscC`s|j|||jƒS(N(t _update_jobt do_add_job(R(RWRY((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt update_jobRscC`s"|j|ƒ|jd|ƒdS(Ns%s(R7(R(RtcommentRY((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR\Us cC`s|j|d|jƒS(NR(R[t do_remove_job(R(RW((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt remove_jobZscC`sdS(N(R(R(RR^RY((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR_]scC`s¾|p |s#|jjd|ƒdS|r2|}n|rA|}n|j|ƒ}t|ƒdkr£|ry|dd}n|rŒ|d}n|jj||ƒdS|jjdd|ƒdS(NiiRGsVariable named '%s' not found.(Rtinserttfind_envRARRQ(R(tdeclt insertaftert insertbeforet other_namet other_decltindex((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pytadd_env`s     cC`s|j|||jƒS(N(t _update_envt do_add_env(R(RWRc((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt update_envtscC`s|j|ƒdS(N(R7(R(RRc((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRkwscC`s|j|d|jƒS(NR(Rjt do_remove_env(R(RW((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt remove_envzscC`sdS(N(R(R(RRc((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRm}scC`sZytj|jƒtSWn;tk r,tStk rUtdtj ƒdƒ‚nXdS(NsUnexpected error:i( RRPR$R tOSErrorRBR0R R1R2(R(((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pytremove_job_file€s  cC`sed}xt|jD]i}|dk rA||kr8||gSd}qtjd|j|ƒrtjd|jd|ƒ}qqW|raxÛt|jƒD]Ç\}}||kr“tjd|j|j|dƒsÿ|jj||j|ƒƒ|j||t gS|rZ|j|d|jdƒkrZ|j|ƒ|j|d<|j|d|t gSq“q“WngS(Ns%sRi( RRR5R6RR9t enumerateRaRXR (R(RWRYR^R?ti((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pytfind_jobŠs$    # $&"cC`sDx=t|jƒD],\}}tjd||ƒr||gSqWgS(Ns^%s=(RqRR5R6(R(RWRhR?((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRb¥sc C`s«|jdƒ}|rd} nd} |r^|jrJd| ||j|fSd| ||fSnI|jrŠd| ||||||j|fSd| ||||||fSdS(Ns t#Rs %s@%s %s %ss%s@%s %ss%s%s %s %s %s %s %s %ss%s%s %s %s %s %s %s(tstripR$R( R(tminutethourtdaytmonthtweekdayRYtspecialtdisabledtdisable_prefix((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt get_cron_job¬s   #cC`s]g}xP|jD]E}tjd|j|ƒr|jtjd|jd|ƒƒqqW|S(Ns%sR(RR5R6RR7R9(R(tjobnamesR?((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt get_jobnamesÀs *cC`sMg}x@|jD]5}tjd|ƒr|j|jdƒdƒqqW|S(Ns^\S+=t=i(RR5R6R7tsplit(R(tenvnamesR?((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyt get_envnamesÉs !cC`s|j|ƒ}g}d}xX|jD]M}|dk rP||||ƒd}q%||kre|}q%|j|ƒq%W||_t|ƒdkr•tStSdS(Ni(RXRRR7RAR RB(R(RWRYtaddlinesfunctiont ansiblenametnewlinesR^R?((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR[Òs     cC`sZg}xD|jD]9}tjd||ƒr<|||ƒq|j|ƒqW||_dS(Ns^%s=(RR5R6R7(R(RWRctaddenvfunctionR‡R?((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRjçs cC`sVg}x|jD]}|j|ƒqWdj|ƒ}|rR|jdƒd}n|S(sD Render this crontab as it would be in the crontab. s s (RR7R&trstrip(R(tcronstcrontresult((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRNòscC`sñd}|jrÝtjƒdkrAdt|jƒt|jƒfStjƒdkrsdt|jƒt|jƒfStjƒdkr¢d|jdt|jƒfStjtjƒƒd |jkrÝd t|jƒ}qÝnd|j|dfS( s@ Returns the command line for reading a crontab RtSunOSssu %s -c '%s -l'tAIXs%s -l %ssHP-UXs%s %s %ss-lis-u %s( RtplatformtsystemR R!tpwdtgetpwuidRR(R(R((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyR4ÿs   "cC`s®d}|jr”tjƒd krYdt|jƒt|ƒt|jƒ|jt|ƒfStjtjƒƒd|jkr”dt|jƒ}q”nd|j|t|ƒfS( s? Return the command line for writing a crontab RRsHP-UXRŽs chown %s %s ; su '%s' -c '%s %s'is-u %ss%s %s %s(sSunOSsHP-UXsAIX( RRRR R!R‘R’RR(R(R"R((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyROs 5"N(RRt__doc__RR)R'RCRMRXRZR]R\R`R_RiRlRkRnRmRpRsRbR~R€R„R[RjRNR4RO(((s?/usr/lib/python2.7/site-packages/ansible/modules/system/cron.pyRàs6 $  !               c 'C`s# tdtdtddƒdtddƒdtddddgƒd tddƒd tddd d d d dgƒdtddd tƒdtddd dƒdtddd dƒdtddd dddgƒdtddd dƒdtddd dddgƒdtddd tƒdtddd ddddddd gƒd!tddd tƒd"tddƒd#tddƒd$tddƒƒd%td&ddgd#d$ggƒ}|jd}|jd}|jd}|jd }|jd }|jd}|jd}|jd}|jd} |jd} |jd} |jd} |jd} |jd!}|jd"}|jd#}|jd$}|d k}t}tƒ}tƒ}|rótjj|ƒ}t j d'|t j ƒsó|j d(|d)ƒqóntj td*d+ƒƒt|||ƒ}|jd,|ƒ|sK|jd-d.d/d0ƒn| rj|jd-d1d/d0ƒn|jrÌtƒ}|j|d2<|jr¢|j|d3<|jr…|j|d@ s*   ‡7      ÿ> ç