Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author chrispage1

    (@chrispage1)

    Hi Rohit,

    The first thing I would check is that you have actually setup the crontab operation properly. Have a look at that and let me know?

    All the best,
    Chris.

    Thread Starter demotestermail

    (@demotestermail)

    here is screenshot of the setting page :
    https://prntscr.com/bojazk

    if you need the coding or function that i created that also i can send.
    regards,

    Plugin Author chrispage1

    (@chrispage1)

    Hi Rohit,

    I suspect that you haven’t setup the cronjob schedule itself. So once you have installed the plugin, you have to disable the default WordPress cronning functionality and setup a polling crontab to hit your site every X minutes and run the actions.

    You need to make sure you have carried out this step – https://prnt.sc/bojxw5

    You can test if this is setup or not by going to https://[YOUR_INSTALLATION_URL]/wp-cron.php?doing_wp_cron and see if the crons that you have setup have run or not.

    Chris.

    Thread Starter demotestermail

    (@demotestermail)

    Hello Chris
    i am So confused that what i have to do
    can u please let me know the steps to resolve this problem . i already disbale the default cron by adding code to the wp-config file.
    but still its not working and then i hit the url
    https://localhost/cron/wp-cron.php?my_cronjob_action
    i am getting nothing.
    https://prntscr.com/bokcfl
    * * * * * wget -qO- “https://localhost/cron/wp-cron.php?my_cronjob_action” &>/dev/null
    please let me know what i did wrong .
    Regards,
    Rohit

    Plugin Author chrispage1

    (@chrispage1)

    Hi Rohit,

    localhost isn’t really the best environment to be running cron job schedules but it can be done.

    You have setup everything correctly apart from the cron job itself I think. When you visit https://localhost/wp-cron.php?doing_wp_cron you shouldn’t get anything but a white page. But this will trigger your action and you should be able to see that the task has run in the Cronjob Scheduler page – please try this and let me know.

    Unfortunately this plugin does require a basic understanding of setting up cronjobs which can vary depending on your environment.

    Chris.

    Thread Starter demotestermail

    (@demotestermail)

    Hello Chris,
    i am still facing this problem.
    Also i want to know that is there any way i get get the time in function
    for example if i set cron function hit every 15 min then in my custom function how can i that time 15 min dynamically. because i want if i change that time from 15 to 30 min i can get that 30 min time in my function.
    it will be appreciable if you help me to resolve these problems
    Regards,
    Rohit

    Plugin Author chrispage1

    (@chrispage1)

    Hi Rohit,

    Sorry for dropping the ball on this one – did you have any success?

    Chris.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cronjob Scheduler not automaticaly hit the function’ is closed to new replies.