----------------------------------------------------------------------------------
@MSGID: 2:460/5858 6a1b715d
@REPLY: 1:2320/106.0 69dcecf2
@PID: GED+W64 1.1.5-b20250401
@CHRS: CP866 2
@TZUTC: 0300
@RealName: Brother Rabbit
@TID: hpt/w64-mvcdll 1.9 2023-01-07
Hi Mike!
13 Apr 26 08:08, Mike Powell -> Nil A:
MP>> Like, stop taking calls (or exit) and run this script, then restart?
NA>> That I can`t understand your use-case, but sounds like a DOS shit.
MP> I want to roll the log while it is not taking calls. Makes it easier to
MP> analize if calls are not cut in half. Not a "DOS shit" use-case.
[02:18:16 brorabbit etc]$ sudo grep -i archlog.sh /etc/crontab
58 23 * * * fido /home/fido/bin/archlog.sh
---------------------------------
[02:14:30 brorabbit]$ cat ./archlog.sh
#!/bin/sh
/home/fido/perl/bls.pl -c /home/fido/etc/bls.conf -l /home/fido/logs/bls.log
arcname=$(date +%F)
zip -mj9q /home/fido/logs/arc/$arcname /home/fido/logs/*.log
---------------------------------
https://brorabbit.g0x.ru/files/perl/bls.pl Creates stat files from the
binkd.log file.
Have nice nights.
Stas Mishchenkov.
--- Люди, вы когда своей головой начнете думать, а не телевизором?
* Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
SEEN-BY: 50/22 109 103/705 104/117 124/5016 153/757
154/10 30 203/0 221/0 6
SEEN-BY: 240/1120 5832 263/1 280/464 1043 5003
5006 5555 292/854 8125 301/1
SEEN-BY: 310/31 341/66 234 396/45 423/120 452/166
460/58 256 1124 5858 463/68
SEEN-BY: 633/280 712/848 770/1 5000/111 5015/46
5020/329 400 715 828 830 846
SEEN-BY: 5020/848 1042 4441 8912 12000 5022/128
5030/49 1081 5053/51 58
SEEN-BY: 5054/30 5060/900 5061/133 5075/35
5083/444
@PATH: 460/5858 58 280/464 5555 5020/1042 4441