Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
gettor
Commits
3e7378bb
Commit
3e7378bb
authored
Sep 30, 2019
by
Hiro
🏄
Browse files
Update check service script
parent
e156e968
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/check_service
View file @
3e7378bb
...
...
@@ -103,9 +103,9 @@ if __name__ == "__main__":
try
:
status
,
message
=
send_email_from_gmail
(
password
)
except
Exception
as
e
:
status
=
CRITICAL
status
=
UNKNOWN
message
=
repr
(
e
)
status_file
.
write
(
"
CRITICAL
: %s"
%
message
)
status_file
.
write
(
"
UNKNOWN
: %s"
%
message
)
sys
.
exit
(
status
)
time
.
sleep
(
600
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment