add these lines to your wp-config file
define(‘FS_METHOD’,’direct’); // this remove the ftp login screen
define(‘WP_MEMORY_LIMIT’, ‘512M’); //increase php memory
define(‘DISABLE_WP_CRON’, true); //this disabled wpcron
go to hosting control panel add cron there, command below runs wpcron every 30 min
0/30 * * * * wget -q -O – https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1