Commit Graph

16 Commits

Author SHA1 Message Date
johnnyq
5c0ab72d69 Moved creating lock file after all other checks have passed to prevent locking if a certian check has not passed, turned off imap extend log as it could cause mysql errors also remove lock before exiting if cannnot connect to imap 2023-11-01 13:59:35 -04:00
johnnyq
3c8a026b7c Fixed Cron mail queue and email parser missing ' 2023-10-27 13:05:29 -04:00
johnnyq
f9d3d3b2f9 Also Added logging to cron mail queue and mail parser when attempting to execute when its already executing by checking to see if the lock file is present 2023-10-25 18:05:19 -04:00
johnnyq
c30e0f7768 Remove Lock files older than 10 Mins aka 600 Secs and log it for Cron Email Parser and Cron Mail Queue 2023-10-25 17:57:35 -04:00
o-psi
53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
johnnyq
65cf8519d0 Added file locks on the mail queue and ticket parse cron jobs to prevent over runs, reverted last commit back to not marking all messages in ticket parse as read 2023-09-19 10:51:52 -04:00
johnnyq
3d5c09abd0 Added a mail resend option under mail queuer it reset the the failed count to 3 2023-09-07 19:31:18 -04:00
johnnyq
9baf64964a Fixed Umlaughts in email subject with the new Mail Queue System 2023-07-06 15:25:10 -04:00
johnnyq
4d90327c79 Created Mail Queue Logs / Viewer in settings, enabled manual send invoice to use the new queue system, now it logs the Email ID so you can reference it in the Queue to see if it sent, also do not send mail to blank billing contact emails 2023-06-21 12:09:32 -04:00
johnnyq
c6afe0b3cf Removed uneeded logging with the mail queue start and end logs 2023-06-20 20:50:55 -04:00
johnnyq
53f05a9469 Update the email status to sending before actually sending to prevent duplicate or more 2023-06-20 20:45:10 -04:00
johnnyq
63100d7cee Remove unessessary date vars and re-enable cron key check for the new cron mailer 2023-06-20 20:37:20 -04:00
johnnyq
8b372c20e0 Update new cron email queuer script to resend failed mail every 30 mins for each failed attempt up 4 attempts 2023-06-20 20:34:29 -04:00
johnnyq
05f41d1798 Update email sent at field only if the email was sent 2023-06-20 19:37:42 -04:00
johnnyq
6f0505d7e9 cron process mail queue created, now need to convert some of the code over to use the new mail queuer system 2023-06-20 19:34:34 -04:00
johnnyq
d1876e829c Added asset description to the API for create and update 2023-06-19 16:34:44 -04:00