BINKD ------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 7 из 100
 От   : Jay Harris                          1:229/664         13 апр 26 05:48:02
 К    : Mike Powell                                           13 апр 26 12:53:01
 Тема : Re: Scheduled events?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1:229/664 82ae28f2
@REPLY: 1890.binkd@1:2320/107 2e410193
@TZUTC: -0400
@TID: hpt/lnx 1.9 2024-03-02
On 12 Apr 2026, Mike Powell said the following...

 MP> Is there a way to set up a scheduled event in binkd, sort of like how the
 MP> old BinkleyTerm used to do it?

 MP> Like, stop taking calls (or exit) and run this script, then restart?

 MP> --- SBBSecho 3.28-Linux

I don`t think binkd can do this itself.

 I have binkd setup as a service on linux, in my daily maintenance
script which runs via cron, I have binkd stop with:

systemctl stop binkd.service

 Then run maintenance (take backups, delete temp files, etc) and
restart binkd afterwards with:

systemctl start binkd.service


The contents of my /etc/systemd/system/binkd.service file:

--[ Start of binkd.service ]--
[Unit]
Description=binkd
After=network-online.target
Wants=network-online.target

[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/usr/local/etc/
ExecStart=/usr/local/sbin/binkd -q -C /usr/local/etc/binkd.conf
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target
--[ End of binkd.service ]--

Update with your paths, user & group names.

Have it automatically run on boot with:

systemctl enable binkd.service


Jay

... If you`re afraid of escalators, there are steps you can take

--- Mystic BBS v1.12 A49 2024/05/29 (Linux/64)
 * Origin: Northern Realms (1:229/664)
SEEN-BY: 10/0 1 19/10 50/109 102/401 103/1 705
104/117 105/81 106/201
SEEN-BY: 124/5016 128/187 129/14 305 153/757 7715
154/10 110 214/22 218/0 1
SEEN-BY: 218/215 601 620 700 840 860 880 221/1 6
360 226/30 227/114 229/110
SEEN-BY: 229/112 114 134 200 206 300 307 317 426
428 470 664 700 705 266/325
SEEN-BY: 266/512 291/111 292/854 301/1 320/219
322/757 335/364 341/66 234
SEEN-BY: 342/200 396/45 452/166 463/68 633/280
712/848 770/1 902/26 5000/111
SEEN-BY: 5015/46 5020/329 715 828 830 846 848
1042 4441 12000 5022/128
SEEN-BY: 5030/49 1081 5053/51 5060/900 5061/133
5083/444
@PATH: 229/664 426 218/700 840 221/6 5020/1042
4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх