I have a custom post type Events
. In that post type, I can schedule events with a date and time. Whenever I publish an event, it will automatically send an email to the users 2 days before the event.
However, I noticed that in order for the script to work, I need to have the wesite running. Is my assumption correct? I can't seem to find anything in the Codex regarding this.
How do I fix this?
I am using a plugin called wp-delayed-mail