OnDemand User Group

Off Topic => General => Topic started by: nishen on October 17, 2017, 01:38:21 AM

Title: How to Daemon from deleting pdf
Post by: nishen on October 17, 2017, 01:38:21 AM
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?
Title: Re: How to Daemon from deleting pdf
Post by: Greg Ira on October 17, 2017, 07:18:13 AM
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.
Title: Re: How to Daemon from deleting pdf
Post by: Justin Derrick on October 17, 2017, 10:04:15 AM
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.
Title: Re: How to Daemon from deleting pdf
Post by: Smitty on October 24, 2017, 05:29:04 AM
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.