Warracker icon indicating copy to clipboard operation
Warracker copied to clipboard

Email Notification Issue : System keep sending 3 daily email notification with same time and date.

Open adyjob2012 opened this issue 1 year ago • 11 comments

I have being using Warracker for 2 week to keep track company vendor contract and hardware/software warranty. I realize that daily I will receive 3 same email notification for the product warranty period. I am wonder you might want to consider to enhance some field to keep track of company vendor contract period beside the hardware/software warranty.

adyjob2012 avatar Jun 28 '25 05:06 adyjob2012

Hi @adyjob2012 , can you share your settings for the notification.

And share your docker logs with me when the notifications get sent.

sassanix avatar Jun 28 '25 14:06 sassanix

Until today I still receive 3 email notification. Below is the logfile from docker:

INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:33), apprise_time=09:00(diff:N/A), current_local=09:33, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:35:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:35:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:35:12 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" (scheduled at 2025-06-30 01:35:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" (scheduled at 2025-06-30 01:35:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" (scheduled at 2025-06-30 01:35:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-445), apprise_time=09:00(diff:N/A), current_local=01:35, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-445), apprise_time=09:00(diff:N/A), current_local=01:35, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-445), apprise_time=09:00(diff:N/A), current_local=01:35, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:35), apprise_time=09:00(diff:N/A), current_local=09:35, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:35), apprise_time=09:00(diff:N/A), current_local=09:35, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:35), apprise_time=09:00(diff:N/A), current_local=09:35, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:37:12 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" (scheduled at 2025-06-30 01:37:12.911381+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" (scheduled at 2025-06-30 01:37:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" (scheduled at 2025-06-30 01:37:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-443), apprise_time=09:00(diff:N/A), current_local=01:37, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-443), apprise_time=09:00(diff:N/A), current_local=01:37, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:37), apprise_time=09:00(diff:N/A), current_local=09:37, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:37), apprise_time=09:00(diff:N/A), current_local=09:37, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-443), apprise_time=09:00(diff:N/A), current_local=01:37, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:37), apprise_time=09:00(diff:N/A), current_local=09:37, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:39:12 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" (scheduled at 2025-06-30 01:39:12.911381+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" (scheduled at 2025-06-30 01:39:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" (scheduled at 2025-06-30 01:39:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-441), apprise_time=09:00(diff:N/A), current_local=01:39, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-441), apprise_time=09:00(diff:N/A), current_local=01:39, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-441), apprise_time=09:00(diff:N/A), current_local=01:39, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:39), apprise_time=09:00(diff:N/A), current_local=09:39, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:39), apprise_time=09:00(diff:N/A), current_local=09:39, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:39), apprise_time=09:00(diff:N/A), current_local=09:39, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:41:12 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" (scheduled at 2025-06-30 01:41:12.911381+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" (scheduled at 2025-06-30 01:41:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" (scheduled at 2025-06-30 01:41:12.911381+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:DEBUG: Found 2 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG: Checked 2 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-439), apprise_time=09:00(diff:N/A), current_local=01:41, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-439), apprise_time=09:00(diff:N/A), current_local=01:41, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-439), apprise_time=09:00(diff:N/A), current_local=01:41, timezone=UTC INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:41), apprise_time=09:00(diff:N/A), current_local=09:41, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:41), apprise_time=09:00(diff:N/A), current_local=09:41, timezone=Asia/Kuala_Lumpur INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:41), apprise_time=09:00(diff:N/A), current_local=09:41, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" executed successfully INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-30 01:43:12 UTC)" executed successfully

adyjob2012 avatar Jun 30 '25 01:06 adyjob2012

Thanks for sharing your logs.

How do you have set up the notifications? Can you share a screenshot of the notification settings?

sassanix avatar Jun 30 '25 01:06 sassanix

Image

adyjob2012 avatar Jun 30 '25 01:06 adyjob2012

I'm working on this now.

Try to select both instead of Email, and see if that gives you one email notification.

sassanix avatar Jun 30 '25 10:06 sassanix

I have select both instead of Email, and yet receive 3 email notification.

adyjob2012 avatar Jul 01 '25 03:07 adyjob2012

Appears to be fixed in Version v0.10.1.5

rssmithtx avatar Jul 09 '25 03:07 rssmithtx

@adyjob2012 please update to the latest version, and also delete your browser data for warracker.

Try to re-save the notification settings.

sassanix avatar Jul 09 '25 16:07 sassanix

I wasn't able to recreate this issue on the latest version, I have been getting 1 email when I select daily. Please let me know if it's fixed for you as well on the latest version. For now I will have this issue closed.

sassanix avatar Jul 14 '25 00:07 sassanix

Yes, it has been fixed. I have getting 1 email now by daily. Thank you

adyjob2012 avatar Jul 14 '25 01:07 adyjob2012

Yes, it has been fixed. I have getting 1 email now by daily. Thank you

Happy to hear, thanks again for your input!

sassanix avatar Jul 14 '25 01:07 sassanix