Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter risbac

    (@risbac)

    Oh I think I understand. Another plugin is interfering. They were probably published the same day, but the other pluging delayed them. I will deactivate it and put your settings. Thanks !

    Thread Starter risbac

    (@risbac)

    also maybe it’s easier if I explain what I would like : 2 posts, published every day, at a random time between 7am and 7pm.

    Thread Starter risbac

    (@risbac)

    Hi ! Thanks for your answer.

    Yes I did, and it works fine. the debug info shows 2 results, but they are scheduled on different days :

    “2018-09-17 08:00:22 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2018-09-17 08:00:22 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => 2 [cat] => 13 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => draft ) [order] => ASC [orderby] => rand )
    2018-09-17 08:00:22 – DEBUG: found 2 results.
    2018-09-17 08:00:22 – DEBUG: processing post Sunset
    2018-09-17 08:00:22 – DEBUG: wp_update_post Array ( [ID] => 2463 [post_status] => publish [post_date_gmt] => 2018-09-17 06:00:22 [post_date] => 2018-09-17 08:00:22 )
    2018-09-17 08:00:22 – draft POST id 2463 PUBLISHED : ‘Sunset’
    2018-09-17 08:00:22 – DEBUG: processing post Puy Mary
    2018-09-17 08:00:22 – DEBUG: wp_update_post Array ( [ID] => 2656 [post_status] => publish [post_date_gmt] => 2018-09-17 06:00:22 [post_date] => 2018-09-17 08:00:22 )
    2018-09-17 08:00:22 – draft POST id 2656 PUBLISHED : ‘Puy Mary’
    2018-09-17 08:00:23 – DEBUG: wp_next_scheduled for 2018-09-17 11:39:38 .

    The first one was scheduled to tomorrow (there was already one post scheduled for today), the next one to Wed.

    What I don’t understand very clearly is how it’s deciding of the period to use to publish. The 3-5 hours defines when the scheduler will run, but is it also the period when it should publish ? Or is it only using the period of the day that is set in the other setting ?

Viewing 3 replies - 1 through 3 (of 3 total)