Title: Cron Job &#8211; Database
Last modified: September 1, 2016

---

# Cron Job – Database

 *  [DengineerPC](https://wordpress.org/support/users/dengineerpc/)
 * (@dengineerpc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cron-job-database/)
 * Hi,
 * I need to use the WP-Cron jobs as I use wp cron control and have a secret string
   set up, which your custom cron function you created doesn’t seem to work with.
 * On the odd occasion my daily newsletters stop sending and I need to duplicate
   the old scheduled newsletter and then delete the old instance, with the new one
   working again.
 * I wanted to know what exactly does your wysija_cron_queue actually look for, 
   before kicking of the next scheduled newsletter, or instead get stuck and even
   tho the schedule says the next newsletter comes up in x amount of times, it doesn’t.
 * I was thinking of running a sql job which checks for whatever it needs to keep
   sending the newsletter, and even if it misses one day, it sends the next.
 * Is this possible?
    Regards
 * [https://wordpress.org/plugins/wysija-newsletters/](https://wordpress.org/plugins/wysija-newsletters/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cron-job-database/#post-7491940)
 * If you want to use the plugin WP Cron Control you can’t use the MailPoet Cron
   URL option, you need to rely on your visitors to trigger your newsletter queue.
 * If you want to use our MailPoet Cron URL option, you won’t be able to use these
   other plugins to manage the Cron, as you have probably noticed.
 *  Thread Starter [DengineerPC](https://wordpress.org/support/users/dengineerpc/)
 * (@dengineerpc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cron-job-database/#post-7491943)
 * Hi,
 * Yes I get that already, that wasn’t my question. Can you please answer the question
   regarding wysija_cron_queue and any possibility of making sure the queue doesn’t
   get stuck from the sql / metadata end?
 *  Thread Starter [DengineerPC](https://wordpress.org/support/users/dengineerpc/)
 * (@dengineerpc)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cron-job-database/#post-8270835)
 * Hi. I am still having an issue with scheduled newsletters not running on schedule
   after a random period of them running successfully.
 * Only thing that works is duplicating the scheduled newsletter, and deleting the
   old one. This then seems to kick the schedule running again. Can you please explain
   what does the code for wysija_cron_queue check and do to ensure scheduled jobs
   run? What options in the sql database get triggered,etc?

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Cron Job – Database’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wysija-newsletters_ffddcc.svg)
 * [MailPoet Newsletters (Previous)](https://wordpress.org/plugins/wysija-newsletters/)
 * [Support Threads](https://wordpress.org/support/plugin/wysija-newsletters/)
 * [Active Topics](https://wordpress.org/support/plugin/wysija-newsletters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wysija-newsletters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wysija-newsletters/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [DengineerPC](https://wordpress.org/support/users/dengineerpc/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/cron-job-database/#post-8270835)
 * Status: not resolved