We recommend moving the crons directory to a custom private directory above your web root to prevent unauthorized web-based access to self-hosted WHMCS installations.
When you set up a self-hosted WHMCS installation, you must set up the system cron job. The system cron controls all of WHMCS's automation, including daily tasks like generating invoices and sending email notifications.