Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Oct 22, 2021 5:53:35 AM
Mar 11, 2019 7:48:05 AM
While running Qlik NPrinting Tasks, many reports are generated. However, the setting for Days to Keep / Reports to Keep seems to be ignored.
Qlik NPrinting all versions
The first thing to consider is that Qlik NPrinting generates one report for each Newsstand user. For this reason, there will be one file for each user, and not "just one", in the Qlik NPrinting Application Data folder. Those reports may be absolutely identical.
In that sense, the "report to keep" setting does not apply here, and should be considered as "report to keep per user". There is currently an improvement at R&D. Check improvement on days to keep in Nprinting for details. In addition, see Publish task "Reports to Keep" does not work during first 24 hours.
As for the setting apparently being ignored, by default runs the check to delete old reports once every 24 hours. If no new report has been run in the meantime, the old reports will not be deleted, even if more than one day has passed.
Should there be a feeling that the periodic check is not run, the settings can be enforced:
<add key="cleanup-period" value="1800" />
<add key="cleanup-period-files" value="43200" />
The first setting is the recurrence in seconds (default: 30 minutes) for the task that will check for reports in the newsstand and unlink the older ones.
The second setting is the recurrence in seconds (default: 24 hours) for the task that will scan and remove the actual files, after checking that the conditions about days and reports to keep, plus the presence of newer reports that supersede them, are met. In this case, we would change the default value to a shorter time (43200 seconds, 12 hours) to make sure the task is run more frequently.
Hi ,
i am trying to implement the same.
however during the changes to config file
it promts me to save in a different format.
can you assist me on this .
as the service scheduler is down. thanks
Hello @apacbi_smbc
This may indicate that you do not have the correct permissions to overwrite the existing .config file (either because it is still in use by a service that was not shut down, or because you do not have the correct file permissions).
Verify that the service is shut down and verify your file permissions on disk (you need read/write permissions). If both are correct and you still cannot save it as a .config file, then you can try this workflow:
This is a bit of a roundabout way of going about it, but it will work.
All the best,
Sonja