WordPress.org

Forums

Editorial Calendar
Dragging posts in the calendar causes incorrect cron scheduling (6 posts)

  1. bgunsberger
    Member
    Posted 1 year ago #

    Hi,

    If I drag and drop posts in the calendar from one day to another, the post date gets set correctly, but the cron job get scheduled for the year -0001. This happens every time.

    Regards,

    Ben

    http://wordpress.org/plugins/editorial-calendar/

  2. Zack Grossbart
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Ben,

    Thanks for using the Editorial Calendar. I'm sorry you're having trouble with it.

    Can you please tell me a little more about what's going on. I'm not sure what you mean by the cron job. I don't think WordPress uses cron since it's all in PHP. What kind of behavior are you seeing? How can I reproduce this issue?

    Thanks,
    Zack

  3. bgunsberger
    Member
    Posted 1 year ago #

    Hi Zack,

    It's the wp-cron entries that get created in the options. If you compare the result of a query like:

    SELECT option_value FROM wp_options WHERE option_name = "cron"

    with

    SELECT id,post_title,post_date,post_date_gmt,post_status FROM wp_posts WHERE post_status = "future"

    and look at the dates of the two sets of results, you'll see that sometimes the dates in the options end up being very wrong (negative values).

    I can send you a php script I wrote to check when things go awry if you're interested.

    Regards,

    Ben

  4. Zack Grossbart
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the details Ben, but I'm still not following this issue. Is this causing a problem? Are there side effects of doing this? Does this work differently than if you schedule something from the WordPress edit screen?

    Thanks,
    Zack

  5. bgunsberger
    Member
    Posted 1 year ago #

    Hi Zack,

    The side effect is that the post doesn't publish. If I schedule it from the post edit view or the quick edit button in the post list then it works fine.

    Cheers,

    Ben

  6. bgunsberger
    Member
    Posted 1 year ago #

    Hi Zack,

    After reading another thread I tried deactivating 'Edit Flow' and the problem went away. Like the other poster, I'd love to be able to use both. I'm happy to provide any debug info you need.

    Cheers,

    Ben

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Editorial Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.