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
|
dias = (hj - data).days
|
||||||
|
|
||||||
while True:
|
msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê? :marielle: "
|
||||||
msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê?"
|
mastodon.log_in(login, pwd)
|
||||||
mastodon.log_in(login, pwd)
|
mastodon.status_post(msg, spoiler_text="Marielle")
|
||||||
mastodon.status_post(msg, spoiler_text="Marielle")
|
|
||||||
time.sleep(86400)
|
|
Loading…
Reference in New Issue