Setup Cron Job to delete logs

Please setup a CRON JOB on my production and staging site to delete logs every 48 hours.