WordPress.org

Forums

WP Security Audit Log
[Request] System notice when scheduled posts are published (6 posts)

  1. midwestkel
    Member
    Posted 1 year ago #

    Hello,

    I would be great if there was an option to see when the system published a scheduled post.

    We are currently using your plugin to debug various post issues and ran into a scenario where a post was published ahead of the scheduled date even though WP shows the post was published in the future.

    It would be nice to see when the post status was actually changed in the DB.

    https://wordpress.org/plugins/wp-security-audit-log/

  2. WPWhiteSecurity
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Midwestkel,

    First of all thank you for using our plugin.

    When WordPress automatically publishes a blog post, you should still see alert 2001 (published post) or Alert 2021 (changed status of post) in your Audit Log viewier. In the alert though there won't be a user reported, i.e. highlighting the fact that the action was automated.

    The time when the post status changes is the time when the alert is generated. Can you please confirm that you can easily retrieve such data from your Audit Log viewer?

    Looking forward to hearing from you.

  3. midwestkel
    Member
    Posted 1 year ago #

    Hello and thanks for the quick reply. I do see those alerts are active and see when authors publish posts.

    We have have cron disabled on our site and run it with a Linux cron job. I'm not sure if that is the cause or not.

  4. robert681
    Member
    Plugin Contributor

    Posted 1 year ago #

    Sorry but I didn't understand your request.

    So basically you are publishing blog posts via normal Linux cron and when such posts are published you are not seeing the alert?

    If that is the case can you please give me more details on how cron is implemented and how it is authenticating with WordPress etc?

    Looking forward to hearing from you.

  5. midwestkel
    Member
    Posted 1 year ago #

    Hey Robert,

    In my config I've got - define('DISABLE_WP_CRON', true);

    Then I've got a cron that runs every minute going to wp-cron.php like:
    wp-cron.php >/dev/null 2>&1

    The cron runs fine and posts are published, I just don't see them in the audit log.

  6. WPWhiteSecurity
    Member
    Plugin Author

    Posted 1 year ago #

    HI there,

    Can you please drop us an email on plugins@wpwhitesecurity.com so we can look into your issue and discuss it in further details?

    We would like to be able to support such scenario if possible.

    Looking forward to hearing from you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.