I'd like to set a cron job on my server to run an automated script that would tell Wordpress to:
- Check the users that have signed-up but not logged-in in the last 2 hours.
- Resend the welcome email to only the users who signed-up in the last 2 hours.
- On the next cron job it will ignore the users which have already been sent another welcome email in the previous cron runs - you could even delete the users who haven't logged-in within the 2 hour limit if that's easier.
Really appreciate some advice or pointers on how to set this up. I've been searching the net for an answer to no avail. Hopefully someone can help.