WordPress.org

Ready to get started?Download WordPress

Forums

Cron job rewriting URL (5 posts)

  1. mranster
    Member
    Posted 1 year ago #

    I am using my host's cron panel for a job from a newsletter plugin. I'm not using wp-cron for this.

    The problem is that the script, even though it is working, rewrites the URL to the site, adding /?doing_wp_cron=1351.... onto the end of it.

    I have checked and rechecked my settings for the plugin. It persistently shows an error stating my cron job has not been set up, even though it is running. (I have posted about this on the plugin's support thread, but have yet to get a good answer.)

    My am using shared hosting running PHP 5.2. The host's support isn't able to help with this.

    Another thread suggested defining ALTERNATE_WP_CRON as false in wp-config. This has not been effective.

    Can anyone help? I don't want to broadcast the cron job to every visitor.

  2. s_ha_dum
    Member
    Posted 1 year ago #

    My am using shared hosting running PHP 5.2. The host's support isn't able to help with this.

    According to your description, it is their script doing this. I don't know how anyone here is going to be able to debug their script.

    Unless their script is hooking into WordPress, which would be a wee bit weird, WordPress shouldn't be involved at all.

    Who is the host? What is the backend-- cPanel, Plesk, other? Have you asked them how their cron script works?

  3. mranster
    Member
    Posted 1 year ago #

    No, it's not the host's script. It's a WP plug-in, Knews. The backend is cPanel, and they have no info on this.

    I'm not asking anyone to debug the script, merely to let me know of any other resources that might help me to figure this out. Extensive googling has not been fruitful.

  4. s_ha_dum
    Member
    Posted 1 year ago #

    I'm sorry, what?

    I am using my host's cron panel for a job from a newsletter plugin. I'm not using wp-cron for this.

    But...

    No, it's not the host's script. It's a WP plug-in, Knews. The backend is cPanel, and they have no info on this.

  5. s_ha_dum
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic