Use the command line tools in cron jobs. ebook-convert also downloads recipes, calibredb adds to the library if you want that, calibre-smtp sends to email. There's
documentation available that should help get you started, also, a forum search for 'ebook-convert recipe' should find some examples for scripts and such.