I am trying to run a cron job . I created it with Shell. The cron function works fine if I use only PHP functions. But If I use any wordpress function The code become unable to run. No error messege displayed . No error messege Has been sent to my mail.
I am using include "../../../../wp-load.php";
I am using require("../../../../wp-load.php");
Do not worry , The path is correct.
Am i Doing any Wrong? Please Help Me.