[ LUGOS ] cron, *.sh
Boris Benko
boris.benko na telekom.si
Tor Apr 20 08:52:02 CEST 1999
Metod Kozelj wrote:
> Howdy!
>
> On Mon, 19 Apr 1999, Jakec wrote:
>
> > kje lahko najdem informacije o shell skriptah in cron-u.
> > (poleg obicajnega man xx).
Pa jaz bi rekel takole za cron. Tisto, kar zaganjas v skriptah, lahko to pocnes
periodicno. Na Linuxu si poglej recimo:
[root na xxx /root]# ls -ald /etc/cron*
drwxr-xr-x 2 root root 1024 Dec 29 16:38 /etc/cron.daily
drwxr-xr-x 2 root root 1024 Dec 29 16:20 /etc/cron.hourly
drwxr-xr-x 2 root root 1024 Jun 27 1998 /etc/cron.monthly
drwxr-xr-x 2 root root 1024 Dec 29 16:25 /etc/cron.weekly
-rw-r--r-- 1 root root 248 Jun 27 1998 /etc/crontab
[root na xxx /root]#
Oziroma vsebino teh direktorijev.
Če ima pa kaknega SUNa, pa recimo pogleda:
# crontab -l
#ident "@(#)root 1.14 97/03/31 SMI" /* SVr4.0 1.1.3.1 */
#
# The root crontab should be used to perform accounting data collection.
#
# The rtc command is run to adjust the real time clock if and when
# daylight savings time changes.
#
10 3 * * 0,4 /etc/cron.d/logchecker
10 3 * * 0 /usr/lib/newsyslog
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1
0 0 * * * [ -x /etc/nisscript ] && /etc/nisscript > /dev/null 2>&1
#
=b
begin:vcard
n:Benko;mag. Boris
tel;cell:+386 609 645 256
tel;home:+386 69 37 499
tel;work:+386 69 14 632
x-mozilla-html:FALSE
org:Telekom Slovenije, d.d.;PE Murska Sobota
adr:;;Bakovska ulica 27;Murska Sobota;;9000;Slovenija
version:2.1
email;internet:Boris.Benko na ms.telekom.si
title:software development
fn:mag. Boris Benko
end:vcard
Dodatne informacije o seznamu Starilist