Add new cronjob function to update the stock details.