How to make the system to execute an action endlessly?

this is the code of my action_fetching_live_chat "class ActionFetchingLiveChat(Action): def name(self) → Text: return “action_fetching_live_chat” def run( self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) → List[Dict[Text, Any]]:

    conn = mysql.connector.connect(
        host="localhost",
        user="root",
        password="",
        database="testing",
        port="3306"
    )
    cursor = conn.cursor()
    incoming_id_slot = tracker.get_slot("unique_id")
    outgoing_id_slot = tracker.get_slot("outgoing_id")                         
    output = ""                               
    query = f"SELECT * FROM messages ....."            
    cursor.execute(query)
    rows = cursor.fetchall()            
    for row in rows:
        if row[2] != outgoing_id_slot:
            output = row[3]              
            print("1 ", output)         
            if output != self.last_message:
                dispatcher.utter_message(output)                   
            else:
                print("Message already sent")
    return []"

now, i need to make this action once being triggered by user, then it will continuously keep running the action, that way user don’t need to trigger it more than once, i need this action to keep running so that it can keep fetching the data from database. in my code i still need user to keep triggering the action, which is inconvenient. please help, thx.

@reza7angkasa Hey, have you solved this? or executed any other way

Please explain this question clearly.