I have subscribed for directory watch if any data is added . But my requirement is to enable a scheduled task and run it next day at 00.30 am . How can i possibly do this .
Page 1 / 1
I believe the directory watcher is only sending notifications when the topic is used in a workspace (thats what I looks like when I just tried it without a workspace), so I would presume you need to set up a workspace that just reads the directory watcher topic and then you could break the notification down and write out to some type of output file (e.g. csv). Then your scheduled task could read that file at 00.30am and run the relevant data through.
You could avoid creating the specific output file from the notifications and just read the notifications at 00.30am, but I think writing it out to an output file at the time of notification, would be a bit tidier and could reduce any other issues that might appear.