Cron Jobs in ERPNext

I need to set a cron job in ERPNext. Basically it’s a customer grading script. It should run automatically once a day. Is there a way to do this?

@milansachithra yeah you can setup your cron job through hooks scheduler events.

Thank you