This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:raspberry:wde:scripts:reader [2017/12/08 20:49] – lunetikk | linux:raspberry:wde:scripts:reader [2019/12/10 14:43] (current) – [Script 3 - Killer] lunetikk | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ==== Script 1 - Starter ==== | ==== Script 1 - Starter ==== | ||
| - | This will execute socat with daily modified parameters. The logfile parameter will have the date of " | + | This will execute socat with daily modified parameters. The logfile parameter will have the date of " |
| - | wde.sh | + | <code bash wde.sh> |
| - | + | ||
| - | <code bash> | + | |
| #!/bin/bash | #!/bin/bash | ||
| Line 29: | Line 27: | ||
| This script will write 1 file with a single outputline, started with the date and time. | This script will write 1 file with a single outputline, started with the date and time. | ||
| - | wde_reader.sh | + | <code bash wde_reader.sh> |
| - | + | ||
| - | <code bash> | + | |
| #!/bin/bash | #!/bin/bash | ||
| Line 52: | Line 48: | ||
| ==== Script 3 - Killer ==== | ==== Script 3 - Killer ==== | ||
| - | This script is killing socat everyday at 11:58 pm. Remember, it will start again at 12:02 am with a new date. | + | This script is killing socat everyday at 11:59 pm. Remember, it will start again at 12:01 am with a new date. |
| - | + | ||
| - | wdekill.sh | + | |
| - | <code bash> | + | <code bash wdekill.sh> |
| #!/bin/bash | #!/bin/bash | ||
| Line 80: | Line 74: | ||
| \\ | \\ | ||
| - | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |