[nos-bbs] log triggers & shell scripts
Charles J. Hargrove
n2nov at n2nov.net
Sun Mar 9 22:30:45 EDT 2025
These are some sample lines from my autoexec.nos that does things like
fire off outside JNOS commands, writes to logs and send me email.
#SAME MINUTE OF THE HOUR
at 00 "source /usr/local/jnos/bcpolla.txt+"
at 01 "source /usr/local/jnos/bcnodes_1a.txt+"
at 02 "source /usr/local/jnos/bcnodes_2a.txt+"
at 55 "shell ./usr/local/jnos/spool/mail/unhold+"
#DAILY
at 0000 "source NRPollScript.txt+"
at 0100 "shell \cp /dev/null /usr/local/jnos/aprs/master.log"
at 0700 "shell rm /usr/local/jnos/spool/mail/tech.usr+"
# Send an Email to this person whenever JNOS is restarted
# (requires that the JNOS box have direct Internet connectivity to work)
# <recipient> <subject> <text message>
mailmsg n2nov at n2nov.net "JNOS Started" "JNOS has been Started"
--
Charles J. Hargrove - N2NOV
NYC-ARECS/RACES Citywide Radio Officer/Skywarn Coord.
NYC-ARECS/RACES Nets 441.100/136.5 PL
ARnewsline Broadcast Mon. @ 8:00PM
NYC-ARECS Weekly Net Mon. @ 8:30PM
http://www.nyc-arecs.org
NY-NBEMS Net Saturdays @ 10AM & USeast-NBEMS Net Wednesdays @ 7PM
on 7.036 Mhz USB (alt 3.536)/1500 hz waterfall spot; MFSK-16 or 32
"Information is the oxygen of the modern age. It seeps through the walls
topped
by barbed wire, it wafts across the electrified borders." - Ronald Reagan
"The more corrupt the state, the more it legislates." - Tacitus
"Molann an obair an fear" - Irish Saying
(The work praises the man.)
"No matter how big and powerful government gets, and the many services it
provides, it can never take the place of volunteers." - Ronald Reagan
More information about the nos-bbs
mailing list