#4883 - group_points: Cron hook might not run every month as it should

  • By
  • Added
  • 1 view
Identifier #4883
Issue type Minor issue (breaks specific functionality)
Title group_points: Cron hook might not run every month as it should
Status Completed
Tags

Roadmap: v11 (custom)

Handling member PDStig
Addon General / Uncategorised
Description The current group_points cron hook is set to run every 27 days, but skip running if the day of the month is not 1. This could result in months getting skipped.

Instead, run the hook every 30 minutes. Use set_value to determine the last time the hook ran and do not run if it is the same month and year.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated