Jump to content
We've recently updated our Privacy Statement, available here ×

Run Report from a Shell


chelorossel

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

If you have iReport working, you are already using JasperReports.  What you can do is write a java program that runs your JasperReport (after you've developed it in iReport), and then you can of course write a shell script of some sort (depending on your operating system) to run the Java program.

A rough example of a Java program that runs a report is found in the following post:

http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=81354&topid=81374

Good luck!

Carl

Link to comment
Share on other sites

P.S.: My solution assumes that you have the jrxml in a normal file and that it is NOT using the JasperServer repository.  JasperServer adds a whole new dimension if you've deployed these reports to the repository.  Then you would have to use tools available within JasperServer (such as the scheduler) or you could write to their web services.

Carl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...