I want to schedule the sending of Amazon Chime messages and send them automatically. For instance, I want message1 to be sent every Monday at 10am, message2 to be sent every Tuesday at 15pm, etc...
Should I need to do it via a bot and Python? What is the best way to do it?
You will have to schedule your functions like this:
import schedule
import time
def message1():
# Sends msg1
def message2():
# Sends msg2
schedule.every().monday.at("10:00").do(message1)
schedule.every().tuesday.at("15:00").do(message2)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.