alexrgu11 Posted August 13, 2021 Share Posted August 13, 2021 I'm new to JasperReportsI scheduled a few reports to run on a recurring schedule and I have these questions1. I notice that everytime the report is run it overwrites the report file from the previous run. Is there a way to keep the reports from every recurring run ?2, Is there any way to get the reports generated by the schedule job via REST ?Thank you Link to comment Share on other sites More sharing options...
yama818 Posted August 14, 2021 Share Posted August 14, 2021 Q1.The first method I came up with is to add a timestamp to the file name.In the schedule settings, 'Output Option' --> 'File Handling' --> 'Sequential File Names by Timestamp'.Q2.I haven't tried it, but there seems to be a way.https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v790/working-file-resources--> Downloading File Resources You can also change the output destination to something other than the repository as an alternative, although I'm not sure if this will meet your requirements.In the schedule settings, select 'Output Option' --> 'Output Destination' --> 'Output To Host File System(*1)' or 'Output To FTP Server'.*1. You need to change the settings in order to use it.https://community.jaspersoft.com/documentation/jasperreports-server-administration-guide/v550/configuring-scheduler--> Restricting File System Output --> ...WEB-INFapplicationContext.xml --> enableSaveToHostFS=true Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now