Skill / SKILL.md

Cron Background Job Security

wpultimatesecurity/WordPress-Security-Skills

Use when scheduling WordPress cron events with wp_schedule_event / wp_schedule_single_event or writing the callback that runs on a cron hook. Treats cron callbacks as running without a logged-in user, re-checks authorization against stored context rather than current_user_can, keeps secrets out of cron URLs, and validates any stored input the job consumes. Prevents unauthenticated privileged actions via the cron surface.
3 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when scheduling WordPress cron events with wp_schedule_event / wp_schedule_single_event or writing the callback that runs on a cron hook. Treats cron callbacks as running without a logged-in user, re-checks authorization against stored context rather than current_user_can, keeps secrets out of cron URLs, and validates any stored input the job consumes. Prevents unauthenticated privileged actions via the cron surface.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wpultimatesecurity/WordPress-Security-Skills' skill-source

Use the complete skill-source/skills/cron-background-job-security directory with your client’s skill installer.

  • skills/cron-background-job-security

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/cron-background-job-security

Compatibility & requirements

Declared compatibility

Examples generally use PHP 7.4 syntax; check each API against target WordPress/PHP versions. Use maintained WordPress and supported PHP in production. Shell examples require their named tools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
1df00d64f3d5d2f1e8ca4f2f9e9ae4a5d1aacd1a54d29c5a59e60741b4c4eebc
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills