Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature for License & Assets & Warranty #280

Closed
maradwan opened this issue Oct 14, 2014 · 2 comments
Closed

Feature for License & Assets & Warranty #280

maradwan opened this issue Oct 14, 2014 · 2 comments
Milestone

Comments

@maradwan
Copy link

The issue I have many servers has warranty expire and software license expire without notice. Also hardware support & warranty
we add a feature that you need to write when the license expire also it will be good to send email as reminder before 60 days as yellow color in report and 30 days red color.

So we can add new Category as Warranty also Support with expire date
Thanks
Mohamed

@snipe snipe added the 👩‍💻 ready for dev These issues are ready for someone to work on them - take your pick! label Nov 5, 2014
@svpernova09
Copy link
Contributor

We could accomplish this using Queues. When the warranty expire date is entered or changed, a que job would need to be set or modified to adjust when the email should be sent.

I am unsure of what the best practice of managing ques that would essentially have jobs sitting around for months / possibly years.

Since there is no Queue documentation in the install instructions it may be safe to assume most are running the application without queues, which is fine. We don't have to have quest to accomplish this.

We could add a command that runs nightly that checks for expiring warranty / licenses / whatever else we want check and send a notification for. We would have to add the cron job to run artisan command nightly for this to be triggered.

@snipe snipe added this to the v1.2.6 milestone Feb 20, 2015
@snipe
Copy link
Owner

snipe commented Feb 24, 2015

Warrantee expiration emails are now on the develop branch.

To set up the cron to run every day, set up your crontab as:

@daily /path/to/php /path/to/your/snipe-it/artisan alerts:expiring

To set it to run every week, use:

@weekly /path/to/php /path/to/your/snipe-it/artisan alerts:expiring

@snipe snipe modified the milestones: v1.2.7, v1.2.6 Feb 27, 2015
@snipe snipe closed this as completed in 3f9d9f2 Mar 5, 2015
@snipe snipe removed the 👩‍💻 ready for dev These issues are ready for someone to work on them - take your pick! label Mar 5, 2015
@snipe snipe reopened this Mar 5, 2015
@snipe snipe modified the milestones: v1.3.0, v1.2.7 May 2, 2015
@snipe snipe closed this as completed Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants