Added method to call stats-job command from Beanstalk.