Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4d0a14eb
authored
Oct 18, 2018
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated report.shx
parent
b98d29c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
.gitignore
sails/cron/report.sh
.gitignore
View file @
4d0a14eb
# Temporal files
# Temporal files
################
################
\#.*\#
\#.*\#
*~
# Reports #
# Reports #
###########
###########
...
...
sails/cron/report.sh
View file @
4d0a14eb
...
@@ -8,7 +8,7 @@ STU_LOGIN_VALIDS=`egrep "\/stu\/login" access.json | grep "'status': 200" | wc -
...
@@ -8,7 +8,7 @@ STU_LOGIN_VALIDS=`egrep "\/stu\/login" access.json | grep "'status': 200" | wc -
SHOW_GRIDS
=
`
egrep
"/stu/[0-9]+/grids"
access.json | wc
-l
`
SHOW_GRIDS
=
`
egrep
"/stu/[0-9]+/grids"
access.json | wc
-l
`
STUDENTS_ACCESSED
=
`
egrep
"/stu/[0-9]+/grids"
access.json | sed
"s/.*
\/
stu
\/\(
[0-9]
\+\)\/
.*/
\1
/g"
|uniq |wc
-l
`
STUDENTS_ACCESSED
=
`
egrep
"/stu/[0-9]+/grids"
access.json | sed
"s/.*
\/
stu
\/\(
[0-9]
\+\)\/
.*/
\1
/g"
|uniq |wc
-l
`
sendmail amontejo@ujaen.es
<<
END
/usr/bin/
sendmail amontejo@ujaen.es
<<
END
Subject: Informe de Pictogram sobre
$HOSTNAME
Subject: Informe de Pictogram sobre
$HOSTNAME
Nº de intentos de login de supervisor:
$SUP_LOGIN_ATTEMPTS
Nº de intentos de login de supervisor:
$SUP_LOGIN_ATTEMPTS
Nº de logins válidos de supervisor:
$SUP_LOGIN_VALIDS
Nº de logins válidos de supervisor:
$SUP_LOGIN_VALIDS
...
...
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