Import file to astdb

I have a php script which export data to a file. How can I import that data as a value in key X at family Z in AstDB?


you could search the forum maybe ? … tdb+import

Yes, I saw that post. But the contents in his import.txt are static and the threat is finished. So decided to start a new post.

isn’t your file “static” then ?

No, it’s content is changed every day.

I need something like:
A=cat /home/data.log
asterisk -rx “database put somefam somekey $A”