Hi,
I would like to run shell scripts with respect to the time mentioned in postgres data base tables. Postgres database should trigger the shell script for the time mentioned in the table. To make it more clear, i will add an entry like as below in postgres database table
file_id script_run_time
crd_extract.sh 13:00
Now as part of automation process postgres database should trigger the script to run.
FYI, I know that i can write a shell script and put it in cron table to run continously so the script queries the table every minute and compare the extracted time from the table with the system date and trigger the extraction script which will be the subshell. But this would not be my automation requirement. Iam looking for a solution of triggering the script by looking the time in Postgres table.
Request all the masters in the forum to reply ASAP.
Thanks in advance and with Regards,
Sainath