Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community members,
Looking for an option to trigger the job based on file availability in Qlik replicate.
Or schedule the job every 15 minutes based on file availability. if file is not available skip the process.
Regards,
Srihari.
Is the file to watch just a flag of sorts, or does it contain replication data? Can you control its contents? What exactly is supposed to happen with its contents or whatever it points to?
Yes you can schedule a Replicate job to run every 15 minutes. Check out https://community.qlik.com/t5/Qlik-Replicate/Schedule-a-task-for-hourly-replication/m-p/2067816#M590... . Create a daily schedule for the task, export all, edit the JSON and change to "schedule": "*/4 * * * * *",
However, I suspect you want to look at 'file as a source', carefully read the " File Pre-processing" and "Use Reference Files" sections in the Replicate User Guide. Under the Advance tab, Internal parameters you'll find cdcIdleTimeout defaulting to 2 (seconds) which you could set to 900 (seconds = 15 minutes) .
Good luck,
Hein.
As far as I know there is neither a feature to trigger a job based on file availability nor you can schedule the replicate for every 15 minutes. You can look for other options to write a shell script or some other scripting to check the file availability and use replicate CLI or REST API to trigger the job programmatically from within the script.
Thanks
Naren
Is the file to watch just a flag of sorts, or does it contain replication data? Can you control its contents? What exactly is supposed to happen with its contents or whatever it points to?
Yes you can schedule a Replicate job to run every 15 minutes. Check out https://community.qlik.com/t5/Qlik-Replicate/Schedule-a-task-for-hourly-replication/m-p/2067816#M590... . Create a daily schedule for the task, export all, edit the JSON and change to "schedule": "*/4 * * * * *",
However, I suspect you want to look at 'file as a source', carefully read the " File Pre-processing" and "Use Reference Files" sections in the Replicate User Guide. Under the Advance tab, Internal parameters you'll find cdcIdleTimeout defaulting to 2 (seconds) which you could set to 900 (seconds = 15 minutes) .
Good luck,
Hein.