I am trying to monitor a file and if there is a change file I need to execute a script but the catch is cron job is not allowed, also this will be executed on AIX system.
Can somebody help me here on how to proceed.Thank You
One way I can think of is to write a daemon (another script perhaps) and keep checking the file for changes.
It is possible to write a script with infinite loop and the loop can contain the file check logic.
how to monitor changes in file without cron job in AIX