Author Topic: How to Daemon from deleting pdf  (Read 4837 times)

nishen

  • Guest
How to Daemon from deleting pdf
« 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?

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: How to Daemon from deleting pdf
« Reply #1 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.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: How to Daemon from deleting pdf
« Reply #2 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

Smitty

  • Guest
Re: How to Daemon from deleting pdf
« Reply #3 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.