Implemented the export cron job.