generated from pavel.muhortov/template-bash
rename to sequences.sh
This commit is contained in:
parent
45d30465eb
commit
a0cd99d544
12
README.md
12
README.md
|
@ -1,13 +1,13 @@
|
||||||
# cctv-scheduler
|
# cctv-scheduler
|
||||||
PTZ IP-Camera management
|
PTZ IP-Camera management
|
||||||
|
|
||||||
* [`sequence.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#sequence-sh)
|
* [`sequences.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#sequences-sh)
|
||||||
* [`converter.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#converter-sh)
|
* [`converter.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#converter-sh)
|
||||||
|
|
||||||
____
|
____
|
||||||
## `sequence.sh`
|
## `sequences.sh`
|
||||||
**Description:**
|
**Description:**
|
||||||
> Hikvision PTZ-camera sequence.
|
> Hikvision PTZ-camera sequences.
|
||||||
> Additionally:
|
> Additionally:
|
||||||
> - getting temperature from ds-18b20 over SSH,
|
> - getting temperature from ds-18b20 over SSH,
|
||||||
> - saving pictures to FTP.
|
> - saving pictures to FTP.
|
||||||
|
@ -22,17 +22,17 @@ ____
|
||||||
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|
||||||
|-----------|--------------|------------------------|---------------|
|
|-----------|--------------|------------------------|---------------|
|
||||||
| 1 | **[qn]** |execution without pauses||
|
| 1 | **[qn]** |execution without pauses||
|
||||||
| 2 | **[/path/to/conf]** |path to config| ./sequence.conf |
|
| 2 | **[/path/to/conf]** |path to config| ./sequences.conf |
|
||||||
|
|
||||||
|
|
||||||
Example usage in terminal with bash:
|
Example usage in terminal with bash:
|
||||||
```bash
|
```bash
|
||||||
bash ./sequence.sh - ./sequence.conf
|
bash ./sequences.sh - ./sequences.conf
|
||||||
```
|
```
|
||||||
Example usage with cron:
|
Example usage with cron:
|
||||||
```bash
|
```bash
|
||||||
# crontab -e
|
# crontab -e
|
||||||
0 * * * * bash /home/user/cctv-scheduler/sequence.sh qn
|
0 * * * * bash /home/user/cctv-scheduler/sequences.sh qn
|
||||||
```
|
```
|
||||||
____
|
____
|
||||||
## `converter.sh`
|
## `converter.sh`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#
|
#
|
||||||
## DESCRIPTION:
|
## DESCRIPTION:
|
||||||
# Hikvision PTZ-camera sequence.
|
# Hikvision PTZ-camera sequences.
|
||||||
# Additionally:
|
# Additionally:
|
||||||
# - getting temperature from ds-18b20 over SSH,
|
# - getting temperature from ds-18b20 over SSH,
|
||||||
# - saving pictures to FTP.
|
# - saving pictures to FTP.
|
Loading…
Reference in New Issue
Block a user