Title: PHP errors and disappearing cron task
Last modified: August 31, 2016

---

# PHP errors and disappearing cron task

 *  Resolved [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-errors-and-disappearing-cron-task/)
 * I noticed following errors in my php error log:
 * 2016 11:33:26 UTC] PHP Warning: unlink(/home/ht682/paleosmak/wp-content/uploads/
   smtp-mailing-queue/1455653393.6769.json): No such file or directory in /home/
   ht682/paleosmak/wp-content/plugins/smtp-mailing-queue/classes/SMTPMailingQueue.
   php on line 317
    [17-Feb-2016 11:36:46 UTC] PHP Warning: unlink(/home/ht682/paleosmak/
   wp-content/uploads/smtp-mailing-queue/1455656222.6011.json): No such file or 
   directory in /home/ht682/paleosmak/wp-content/plugins/smtp-mailing-queue/classes/
   SMTPMailingQueue.php on line 317 [17-Feb-2016 11:38:29 UTC] PHP Warning: unlink(/
   home/ht682/paleosmak/wp-content/uploads/smtp-mailing-queue/1455663575.7479.json):
   No such file or directory in /home/ht682/paleosmak/wp-content/plugins/smtp-mailing-
   queue/classes/SMTPMailingQueue.php on line 317
 * In total I have about 100 such errors a day.
 * Can it be related to the missing cron job I see?
 * [https://wordpress.org/plugins/smtp-mailing-queue/](https://wordpress.org/plugins/smtp-mailing-queue/)

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

 *  Thread Starter [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-errors-and-disappearing-cron-task/#post-7079153)
 * I think those PHP errors might have been caused by me running the queue manually
   while it was in parallel running by cron.
 * The cron job still disappears every now and then and I still have the problem
   that one cron run is one email sent. I checked the email queue and monitored 
   the amount of json files in the directory. Every cron tick one email is sent 
   and one json file goes away.
 * I checked the PHP code of the plugin, but I couldn’t notice any obvious reason
   for that :/
 *  Anonymous User 13300557
 * (@anonymized-13300557)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-errors-and-disappearing-cron-task/#post-7079198)
 * Sorry I didn’t get around to it yet. I’m pretty busy right now. I will try to
   get to it over the weekend.
 *  Thread Starter [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-errors-and-disappearing-cron-task/#post-7079210)
 * Well, the PHP errors were caused by me manually forcing the emails to be sent.
   In the meantime I moved my site to a new server and I am testing new email system
   without SMTP, so I will be unable to provide any more info nor test the new versions.
   
   I think I will resolve this topic then. Thank you for this great plugin and your
   time.

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

The topic ‘PHP errors and disappearing cron task’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smtp-mailing-queue.svg)
 * [SMTP Mailing Queue](https://wordpress.org/plugins/smtp-mailing-queue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smtp-mailing-queue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smtp-mailing-queue/)
 * [Active Topics](https://wordpress.org/support/plugin/smtp-mailing-queue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smtp-mailing-queue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smtp-mailing-queue/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/php-errors-and-disappearing-cron-task/#post-7079210)
 * Status: resolved