Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sriharinalam
Contributor
Contributor

File watcher in Qlik replicate (or job schedule every 15 minutes)

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.

Labels (1)
1 Solution

Accepted Solutions
Heinvandenheuvel
Specialist III
Specialist III

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.

View solution in original post

2 Replies
narendersarva
Support
Support

Hi @sriharinalam 

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

Heinvandenheuvel
Specialist III
Specialist III

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.