Kontrola, zda bezi script
David Trcka
trcka na poda.cz
Čtvrtek Červenec 13 11:07:53 CEST 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 13 Jul 2000, David Trcka wrote:
> > mam nejaky program, konkretne SETI, ktery mi bezi na pozadi s vystupem
> > na TTY11.
> > Chtel bych vyrobit script, ktery mi 1x denne ohlida, zda SETI bezi a
> > pokud ne, tak jej spusti.
> Ja myslim ze v tomhle pripade na to jdete vsichni moc slozite. Pokud je mi
> znamo, staci z crontabu daneho uzivatele pustit seti treba 1x za 10 minut,
> ono si samo pozna, jestli bezi nebo ne (musite ho pustit v tom jeho
> adresari).
>
Jeste pridam vycuc z README:
If you want setiathome to be started automatically, you can
set up a cron job. Add the following line to your crontab:
0 * * * * cd <setidir>; ./setiathome -nice 19 > /dev/null 2> /dev/null
Where <setidir> is the directory where the setiathome client is
installed.
This cron job will attempt to start the client at the top of every
hour.
If it is already running, the next invocation will do nothing.
If the client is not running, it will be started.
__________________________________________
David Trcka, network administrator
PODA s.r.o., Internet Service Provider
Ostrava, 28. rijna 150, The Czech Republic
Voice/Fax: +420 69 6612600
PGP KeyID: DAE55DA4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5bYbs5z9w2trlXaQRAngIAJ9lq0sQ+3D9tn3vppol+CEKpuBTvwCfQcFe
/xLvURG5bcjdQL11Q3QAcPM=
=xIf3
-----END PGP SIGNATURE-----
Další informace o konferenci Linux