Revision history of "Redmine Scheduled Alerts for Inactive Tickets"

From Notes_Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 05:45, 11 September 2025Rohith talk contribs 3,909 bytes +3,909 Created page with "== Redmine Alerts for Inactive Tickets == Add the below script in: <code>/opt/redmine/lib/tasks/Redmine_Alerts_for_all_users.rake</code> <syntaxhighlight lang="ruby"> namespace :redmine do desc "Send alerts for tickets (all except closed) where last note (comment) was older than 30 days for all users" task send_inactive_ticket_alerts: :environment do cutoff = 30.days.ago.beginning_of_day # Exclude only closed statuses open_status_ids = IssueStatus.wh..."