is typically run on your web server
. You typically do not need to mess with cron on your Moodle, but this depends a lot on how you might be customizing your Moodle.
You can see me set up cron in this video that I made. This is only one of many ways to install Moodle and set up cron.