How to create custom Cron Jobs

I want to create a custom cron job that will execute a function written by myself, everyday. Any ideas how to do that?

that is part of the plugin quick startup guide: Plugin quick Startup Guide

[@Moritz Naczenski](http://forum.shopware.com/profile/14574/Moritz Naczenski “Moritz Naczenski”)‍  So if I create a cronjob.xml inside my plugin, the cron plugin will automatically call that event ?