I want to replace the wordpress cron job with real cron job in PHP.
I tried to change wp-config.php with the following line but it's not working.
irst, you need to disable the file to be hit every time someone loads your pages. To do this, open the
wp-config.php file in your main WordPress folder and add this line at the end, before the closing ?> tag.
And make your cron job setting like below picture. Change path of your cron job according to your cpanel directory.