-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 16 Apr 2000, John Anthony Kazos Jr. wrote:
> I wish to set Lynx to go to a specified page at intervals set by me. This page
> is a pass-through to a site that, when accessed, sends a mail message to a
> script on another machine. If that machine does not receive the message within
> a specified interval, it sets alarms blaring. Basically, I would like to do
> the equivalent of this in crontab. (As root, in bash, if that matters.)
>
> Any ideas? I'd like to let it start Lynx, wait one minute (or some other
> interval), then kill the process. (I assume the latter could be done through
> "kill `pidof lynx`".)
>
> Thanks in advance.
>
> */20 * * * * lynx http://someserver.net/somescript.pl; wait...; kill lynx
>
You can just do:
*/20 * * * * lynx -dump http://someserver.net/somescript.pl
Lynx -dump just dumps the page and then exits...
- --
Regards,
Luis Pinto
- - -----------------------------------------------------------------------
http://student.dei.uc.pt/~lmpinto PHONE: +351-96-2433471 ICQ #15663369
- - -----------------------------------------------------------------------
"Open source software - with no walls and fences, who needs Windows and
Gates?"
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i
iQA/AwUBOPzl2YfF8HgH+Y51EQKVIgCfbL0xwtnzlac/drB27Out+eJfrSUAn2b7
097Iuos6eNQXW6v37agClwyi
=u+0k
-----END PGP SIGNATURE-----