Enhancement: setup cronjob for API