what function can be used to change user role of all users who are currently assigned the role "Customer" to "Editor"?
Basically I need to create a cron job doing this daily. I have figured out the cron job part but need help with how to change roles via function.