I have requirement where I need to kick off Data Services job based on Events A. These are called real-time scenarios.
, Is it possible then how to do it A Yes it is possible
Follow this link
Have a look at this doc also
Suraj gave you the best options to accomplish the task you need. The only thing I would like to highlight is that you have 2 options.
One is to schedule a job to run at, let's say, each 5 minutes, use the file_exists function to check if the file is in the specified folder. In case it is, use the exec() command and move the file to the destination folder (e.g.: exec('cmd','move C:\Temp\File.txt D:\CopiedFiles',8);
The other is to use the wait_for_file in a job with the timeout parameter equals to -1. This will cause the job to keep running indefinitely until the file is created. Particularly, I don't like this solution. It keeps an engine running in the Job Server all the time.
I hope I have helped.