# Cronjobs

**URL:** <https://forum.ansible.com/t/cronjobs/26948>\
**Category:** Ansible Project\
**Created:** [March 9, 2018, 7:08pm UTC](https://forum.ansible.com/t/cronjobs/26948 "2018-03-09T19:08:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Adam](https://forum.ansible.com/u/Adam)\
**Post date:** [March 9, 2018, 7:08pm UTC](https://forum.ansible.com/t/cronjobs/26948/1 "2018-03-09T19:08:33Z")

</div>

Hi -

I’ve got a task to manage cronjobs on systems that works perfectly fine unless I have the following as the job:

find /iqstage01/archive/\* /iqstage01/error/\* -type f -exec gzip {} ;

Ansible doesn’t like the escape on the semi-colon. Does anyone have any ideas why?

Thanks,  
Adam

---

<div class="post-metadata">

**Author:** ![Adam](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Adam](https://forum.ansible.com/u/Adam)\
**Post date:** [March 13, 2018, 3:30pm UTC](https://forum.ansible.com/t/cronjobs/26948/2 "2018-03-13T15:30:42Z")

</div>

For what it’s worth, just escape the escape & this works:

find /iqstage01/archive/\* /iqstage01/error/\* -type f -exec gzip {} \;
