Understand HRM cron automation
Understand the complete v1.3.0 after_cron_run sequence for notification rules, queue processing and due rota distributions.
Exact navigation Admin Area → Setup → Cron Job; then Admin Area → Human Resources → Notification Automation / Workforce Rota & Notifications
Code-backed scope These instructions follow Human Resource Management v1.3.0. Use only controls visible to your permission level and confirm the saved record or audit entry after every action.
What you need before you start
- Access to Admin Area → Setup → Cron Job; then Admin Area → Human Resources → Notification Automation / Workforce Rota & Notifications.
- The Human Resource Management: View capability or administrator access.
- The correct employee, record, period or evidence reference before making a change.
How to do it
- Confirm the host application cron is configured and runs normally.
- Confirm the required notification and rota tables exist for the current tenant.
- Run or wait for the host cron cycle.
- The HRM hook checks its last-run setting and exits when it ran within the previous 900 seconds.
- When due, it runs the notification scheduler scan, processes up to 50 notification queue items, and then processes due one-time and weekly rota distributions.
- Review Notification Automation run/log pages and Workforce Rota Delivery/Audit Logs for the result.
Fields and options
Hookafter_cron_run.
Throttle900 seconds using notification_scheduler_last_cron_at.
Notification queueUp to 50 items per eligible cron run.
Rota stagehrm_rota_process_due_distributions() runs after notification processing.
Failure behaviourExceptions are logged and the cron hook exits safely.
What the module checks
- The module does not create or change the server cron job.
- It exits safely until every required current-tenant table exists.
- A successful host cron does not prove email delivery; inspect module delivery and audit logs.
What happens next
The result remains available from Admin Area → Setup → Cron Job; then Admin Area → Human Resources → Notification Automation / Workforce Rota & Notifications. Verify the final status, linked records and audit evidence.
Troubleshooting
HR data safety Restrict identity, right-to-work, payroll, bank, health, disciplinary and document information to authorised staff. Do not place protected values in free-text notes, email recipients or screenshots.
Browse connected topics: notification automationhuman resources
