repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://git.uucp.hu/git/sysop/tools
[hband-tools.git]
/
óraállás-diktáló
/
aramszunetek
blob
cbdcae180d9f4ac2c3d923ae3288d0c0bd0078f7
1
#!/bin/bash
2
3
set -e
4
set -u
5
6
telepules
=
$1
7
8
dt1
=
`date +%Y.%m.%d`
9
dt2
=
`date +%Y.%m.%d -d "now + 1 month"`
10
11
phantomjs2
--ssl-protocol
=
any
--ignore-ssl-errors
=
true
--web-security
=
false .
/
nkm-aramszunet.js
--debug
"
$telepules
"
$dt1 $dt2
|\
12
{
13
echo
"<table>"
14
cat
|
sed
-e
's@<br>@; @g'
15
echo
"</table>"
16
}
17
18
exit
${PIPESTATUS[0]}