How to Daemon from deleting pdf

Previous topic - Next topic

nishen

Hello, is there anyway to prevent the daemon from deleting the source pdf's files.
I have achieved this using the arsload -n command but cannot pass the same parameter in the daemon, it complains that the service cannot start in a timely fashion.

Is this possible?

Greg Ira

Doing what you are attempting would have unfortunate consequences.  Your loader would load the PDFs over and over with no end until you killed the daemon.  Makes sense it wouldn't allow the -n parameter in a daemon.

Justin Derrick

Yup, the correct behavior is to make a copy of the PDF **before** sending it to the directory that the IBM CMOD arsload daemon is monitoring.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Smitty

Quote from: Justin Derrick on October 17, 2017, 05:04:15 PM
Yup, the correct behavior is to make a copy of the PDF **before** sending it to the directory that the IBM CMOD arsload daemon is monitoring.

-JD.

How we do it. We run a script that archives the PDF file before it sent to arsload.