pra rodar com cron
This commit is contained in:
parent
78288a8ec2
commit
bcef415801
8
mari.py
8
mari.py
|
@ -26,8 +26,6 @@ hj = datetime.date.today()
|
|||
|
||||
dias = (hj - data).days
|
||||
|
||||
while True:
|
||||
msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê?"
|
||||
mastodon.log_in(login, pwd)
|
||||
mastodon.status_post(msg, spoiler_text="Marielle")
|
||||
time.sleep(86400)
|
||||
msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê? :marielle: "
|
||||
mastodon.log_in(login, pwd)
|
||||
mastodon.status_post(msg, spoiler_text="Marielle")
|
Loading…
Reference in New Issue