title: pywhatkit - not very effective for me, what i am doing wrong?
body: <p>im building my first program so please if you see any big mistake on my coding please let me know, im making my own AirBnb CRM with pywhatkit to automate a message to be send every morning to my guests, i created this function to test the pywhatkit effectiveness before implementing it, and its not working very well and not sure what i am doing wrong, everything works, except that the message is written on the &quot;text to be send&quot; field on the whatsapp conversation.... but its not send (from 30 different tests i made, only 13 messages where send successfully)</p>
  <pre><code>import pywhatkit as pwt
  import time
  import mysql.connector
  
  def Whatsapp():
      mydb = mysql.connector.connect(
      host = &quot;localhost&quot;,
      user = &quot;root&quot;,
      passwd = &quot;########&quot;,
      database = &quot;########&quot;,)
      
      my_cursor = mydb.cursor()
      x=&quot;SELECT nombre, celular FROM clientes WHERE checkin &lt;= CURDATE() AND checkout &gt; CURDATE()&quot;
      my_cursor.execute(x)
      numbers=my_cursor.fetchall()
      for result in numbers:
          name = (result[0])
          number = (result[1])
          text = &quot;Hello&quot; +name+ &quot; Good morning, how was everything in your room?&quot;
          pwt.sendwhatmsg_instantly(number, text, wait_time=60, tab_close=True)
          time.sleep(60)
          print(&quot;Message to &quot;, name, &quot;Send&quot;)
      mydb.close()
  
  </code></pre>
  <p>i placed long wait and sleep time because i saw on several posts that this could be the issue, also, when im running this function i leave my computer by itself until its done (mouse and keyboard)</p>