Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
message-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 09ff23bc
authored
2024-06-25 13:46:58 -0300
by
juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Mejora gestion de limpiesa
1 parent
0b5d2b68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
Wpp1State.py
deploy.py
Wpp1State.py
View file @
09ff23b
...
...
@@ -85,6 +85,8 @@ class StateMail():
if
not
self
.
FechaLimpieza
!=
fecha_formateada
:
return
print
(
f
"Fecha de limpieza de limites {self.FechaLimpieza}"
)
######Reinicio los contadores
self
.
FechaLimpieza
=
fecha_formateada
self
.
Consultas
=
{}
#{MailUSer-pass-host-str(port):{"hora": datetime.datetime.now, "estado": self.chequear_stado_WB(telefono)},}
self
.
MailRompedor
=
[]
self
.
MailsEnviado
=
{}
#"MAIL@HOST": n
...
...
deploy.py
View file @
09ff23b
...
...
@@ -132,6 +132,10 @@ def newprefix():
# Guarda los parámetros de los archivos enviados en /data
@app.route
(
'/msg'
,
methods
=
[
'POST'
])
def
msg
():
try
:
MailState
.
LimpiezaDiaria
()
except
:
pass
id
=
request
.
values
[
'id'
]
query
=
{
Table
.
id
:
id
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment