snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Multiple email sent to asset which already checked in

Open Alex77843 opened this issue 5 years ago • 3 comments

Please confirm you have done the following before posting your bug report:

Describe the bug Every midnight, 2 emails will be sent to asset user whose asset has already been checked in. Besides, the asset which already been checked in will be one the "Expected asset checkin report".

Expected behavior Remind email send to users whose asset are due to be checked in only. When asset checked in, stop sending remind email, and remove from the "Expected asset checkin report"

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Snipe-IT Version: Version v5.1.8
  • OS: [e.g. Ubuntu, CentOS]: CentOS Linux release 7.9.2009
  • Web Server: [e.g. Apache, IIS]: httpd-2.4.6-97.el7.centos.x86_64
  • PHP Version: PHP 7.4.21

Desktop (please complete the following information):

  • OS: [e.g. iOS]: macOS 10.14.6
  • Browser [e.g. chrome, safari]: Chrome
  • Version [e.g. 22]: Version 91.0.4472.77

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Error Messages

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
  • Include any additional information you can find in storage/logs and your webserver's logs.
  • Include the output from php -m (this should display what modules you have enabled.)

Additional context

  • Is this a fresh install or an upgrade? upgrade
  • What OS and web server you're running Snipe-IT on
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): install.sh
  • Include what you've done so far in the installation, and if you got any error messages along the way.
  • Indicate whether or not you've manually edited any data directly in the database

Add any other context about the problem here.

sudo crontab -l

          • /usr/bin/php /var/www/snipeit/artisan schedule:run >> /dev/null 2>&1

ran these commands, no change: php artisan config:clear php artisan config:cache

for example, this expected asset checkin report email send twice, and this asset actually already checked in: Screen Shot 2021-08-02 at 1 54 43 PM

this is another example user get 2 emails for the asset expected check in next year: MicrosoftTeams-image Screen Shot 2021-08-02 at 2 03 10 PM

Where should I look for? Thank you!

Alex77843 avatar Aug 02 '21 06:08 Alex77843

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Aug 02 '21 06:08 welcome[bot]

Hi, how you set up the noti email for the expected check in asset if i may ask?

c1thunder avatar Aug 20 '21 22:08 c1thunder

I believe this was fixed a long time ago - closing for now

snipe avatar Aug 11 '25 23:08 snipe