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

Schedule is being deleted after it runs


efpaz

Recommended Posts

Hi All,

I have detected that when you create a scheduled job, it is deleted immediately from the database after runs, making it impossible to keep a schedule history for admininstration and monitoring purposes.

Is there a known way to address this? Are there any configuration files either native JasperServer or Quartz where I should change a flag, or something like this?

Thanks in advance

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi, Thanks for your reply.

That could be a possible way to do it, but the user wouldn't be able to see the history of schedules in the scheduled jobs page. And the ultimate goal for this is to also be able to track all the subscriptions history for monitoring and admininstration.

I've read that by supposedly adding the line org.quartz.scheduler.isDurable = true in the js.quartz.base.properties file this issue should be addressed. But after a few tests there is no change in behavior. 

http://www.opensymphony.com/quartz/api/org/quartz/JobDetail.html

Maybe quartz is not handling the life cycle of all the records in the JIReportJob* tables and QRTZ_ tables.

My guess is that there must be a parameter in one of those config files that allows us to set the volatility to false and then the records in those tables won't be deleted.

Thanks again,

Emanuel

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Currently I do not have access to the database but does anyone know whether JS insert any records with a report is ran? (not scheduled). Is the activity of a user logged?

 

We are investigating whether its possible to track who ran what report at what time. Thanks :)

Link to comment
Share on other sites

linvicch
Wrote:

Currently I do not have access to the database but does anyone know whether JS insert any records with a report is ran?

No, there is no functionality like that.  This can be implemented as a customization (but, of course, some coding would be involved).

Regards,

Lucian

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...