Snipe-it: Can I generate asset report with crontab job.

Created on 1 Apr 2018  路  11Comments  路  Source: snipe/snipe-it

Expected Behavior (or desired behavior if a feature request)

I wanted to generate asset report with the help of cron job in a month and automatically send report by Email . How I Can achieve?


Actual Behavior

(what actually happens goes here)


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


Provide answers to these questions:

  • Is this a fresh install or an upgrade? Fresh installed
  • Version of Snipe-IT you're running Version v4.1.14
  • Version of PHP you're running 7
  • Version of MySQL/MariaDB you're running
  • What OS and web server you're running Snipe-IT on centos 7
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) install.sh
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the 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 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

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

stale

Most helpful comment

@ziyaul121 sorry for the delayed response, are there any special format you will like this report in? What sort of information are you expecting in this report? Asset name, serial, model etc.

I am sort of getting my hand wet with python so bear with me a little :smiley:

All 11 comments

is it possible?

You have a few options to achieve this, assuming that you have full access to the database you can use your favourite programming language to run the SQL query to generate the asset report have it emailed.

Dear @EarlRamirez ,
Thanks a lot.
Yes, I do have full access on the database. Could you please give me some details.?

@ziyaul121 I will try and create a script when I have some free time, hopefully, by the end of this week and share it with the community

Dear @EarlRamirez ,
Great, That's very kind of you. I really appreciate this.

@ziyaul121 sorry for the delayed response, are there any special format you will like this report in? What sort of information are you expecting in this report? Asset name, serial, model etc.

I am sort of getting my hand wet with python so bear with me a little :smiley:

Dear @EarlRamirez , Format either csv or excel, that would be great. The information in the report like asset name , Asset tag , Serial , Model , Model No, location, company name and checkedout to are required.

Sure Sure, I very much appreciate your efforts and kindness.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

Working on this issue

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rungea96 picture Rungea96  路  4Comments

jblandin04 picture jblandin04  路  5Comments

Neor5804 picture Neor5804  路  3Comments

snipe picture snipe  路  3Comments

comisso picture comisso  路  4Comments