How splunk calls coldToFrozen.py script automatically once the script is setup in /opt/splunk/bin and indexes.conf file with needed arguements. once cold_db is full how this script gets invoked by splunk
It's not clear what is being asked. What we know about how the coldToFrozenScript is processed is documented in indexes.conf.spec.
If there's something more specific you want to know then please revise the question.