Added delayed api calls support vi a cronjob