futurefirst / capscorrect

Scan a set number of contacts each day and correct contact names capitalisation on first and last names.
Other
2 stars 5 forks source link

Ability to select a group? #9

Open magnolia61 opened 7 years ago

magnolia61 commented 7 years ago

It would be awesome to be able to select a group in the scheduled job settings (e.g. gid=123). This would benefit performance on some sites, but also speed up correcting relevant addresses (for instance registrations of this year's events).

It would also allow for multiple jobs to be scheduled: 1) one slow background job (like now) that runs 500 contacts at a time, daily 2) one 'fast' job that only corrects a specific group and runs hourly (on sites where this is preferable)

Would be great. Love it.

JohnFF commented 7 years ago

Hi @magnolia61

It should be possible to create your own scheduled job that does the same thing for the fast one. It would be fairly easy to build the caps correcting functionality into an action that could operate on search results (as the Email Address Corrector currently does). Do you write code yourself?