title: (python) Telegram bot- how to send messages periodically?
body: <p>I have a dilemma regarding my telegram bot. Let's say I have to create a function that will ask, every user connected to the bot, one time per week/month, a question:</p>
  
  <pre><code>def check_the_week(bot, update):
  reply_keyboard = [['YES', 'NO']]
  bot.send_message(
      chat_id=update.message.chat_id,
      text=report,
  
      reply_markup=ReplyKeyboardMarkup(reply_keyboard, one_time_keyboard=True))  # sends the total nr of hours
  update.reply_text("Did you report all you working hour on freshdesk for this week?",
                    ReplyKeyboardMarkup(reply_keyboard, one_time_keyboard=True))
  
  if update.message.text == "YES":
      update.message.reply_text(text="Are you sure?",
                                reply_markup=ReplyKeyboardMarkup(reply_keyboard, one_time_keyboard=True))
  
      # Asks confirmation
      if update.message.text == "YES":
          update.message.reply_text(text="Thank you for reporting your working hours in time!")
  
      elif update.message.text == "NO":
          update.message.reply_text(text="Please, check you time reports and add missing")
  
  elif update.message.text == "NO":
      update.message.reply_text(text="Please, check you time reports and add missing")
  </code></pre>
  
  <p>I want this function to be triggered every week. I was thinking about using <a href="https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-JobQueue" rel="noreferrer">JobQueue</a>. The problem is that in this case the function should have two parameters- bot AND job_queue, but no update:</p>
  
  <pre><code>def callback_30(bot, job):
      bot.send_message(chat_id='@examplechannel',
      text='A single message with 30s delay')
  
  j.run_once(callback_30, 30)
  </code></pre>
  
  <p>How can I create a Job Scheduler (or any other solution) in telegram bot to be trigger my function once a week? 
  p.s. No "while True"+time.sleep() solutions please. The loop just stuck forever, I tried it.</p>