• When I create a new post, when exactly it that going to be HTTP POST’d to my followers? Do I read this correctly that it might take an hour?

    wp cron event list
    +------------------------------------+---------------------+-----------------------+------------+
    | hook | next_run_gmt | next_run_relative | recurrence |
    +------------------------------------+---------------------+-----------------------+------------+
    | wp_version_check | 2024-10-15 22:57:25 | 58 minutes 33 seconds | 12 hours |
    | wp_privacy_delete_old_export_files | 2024-10-15 22:57:26 | 58 minutes 34 seconds | 1 hour |
    | activitypub_update_followers | 2024-10-15 22:57:27 | 58 minutes 35 seconds | 1 hour |
    | wp_update_plugins | 2024-10-15 23:27:25 | 1 hour 28 minutes | 12 hours |
    | wp_update_themes | 2024-10-15 23:57:25 | 1 hour 58 minutes | 12 hours |
    | wp_site_health_scheduled_check | 2024-10-16 21:57:26 | 23 hours 58 minutes | 1 week |
    | recovery_mode_clean_expired_keys | 2024-10-16 21:57:26 | 23 hours 58 minutes | 1 day |
    | activitypub_cleanup_followers | 2024-10-16 21:57:27 | 23 hours 58 minutes | 1 day |
    +------------------------------------+---------------------+-----------------------+------------+

    For FediTest purposes, how can I get it to do this 1) immediately and 2) predictably so we know whether the message sending worked or failed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hey @johannesernst

    the listed ActivityPub related tasks are cleanup tasks and are not responsible for sending out activities. The Activity-Crons are timed directly, but have to be processed. I will check what the best way might be to process them, or maybe implement a feature flag to directly process them (and to bypass the queue).

    Thread Starter johannes.ernst

    (@johannesernst)

    I tried to curl wp-cron.php but it is an uncertain business. Trying for 15 seconds usually gets it sent but not always.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.