# Run custom script with cron in cattles

**URL:** <https://forums.suse.com/t/run-custom-script-with-cron-in-cattles/8183>\
**Category:** General\
**Created:** [January 9, 2018, 1:54pm UTC](https://forums.suse.com/t/run-custom-script-with-cron-in-cattles/8183 "2018-01-09T13:54:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![galioy](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@galioy](https://forums.suse.com/u/galioy)\
**Post date:** [January 9, 2018, 1:54pm UTC](https://forums.suse.com/t/run-custom-script-with-cron-in-cattles/8183/1 "2018-01-09T13:54:58Z")

</div>

I have found the `rancher-cron` repo and other topics about running containers on a scheduled basis, but what I want is to run a custom made script with a simple cron schedule inside my cattles. Is there a way to do that through the UI or any other easy way?

The only thing I can think of now is to `scp` my script to the cattles and schedule it _manually_ with `cron`… but that’s the “lame” way.
