TIP: Click on subject to list as thread! ANSI
echo: binkd
to: JON JUSTVIG
from: MICHAEL DUKELSKY
date: 2016-03-04 21:24:00
subject: Poll

Hello Jon,

Friday March 04 2016, Jon Justvig wrote to All:

 JJ> Could someone tell me how to automatically poll my uplink on a
 JJ> schedule.  I'm running Linux.  I have to manually poll and I would
 JJ> like to get net/echomail on a regular basis so I can send to my
 JJ> downlinks.  Thanks.

$ crontab -e
*/15 * * * * poll_my_uplink.sh

That will make polls every 15 minutes, see `man 1 crontab` and `man 5 crontab`.
The 'crontab -e' command opens vi on default, so if you do not like it you have
to write

export EDITOR=/path/to/your/favorite/editor

somewhere in /etc/profile or /etc/profile.local or some other place depending
on your linux distribution.

There is also another way. You may ask your uplink to send you your mail
directly after she/he receives it. Then it will be enough for you to poll one
or two times a day just to be on the safe side.

Michael

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20151128
* Origin: Moscow, Russia (2:5020/1042)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.