Date: Wed, 2 Dec 1998 15:59:38 -0800 

SOLARIS 1.x:
================================
/var/spool/cron/crontabs

SunBox.root-#->cd /var/spool/cron/crontabs
SunBox.root-#->ll
total 4
drwxr-sr-x  2 root          512 Dec  2 14:19 .
drwxr-sr-x  4 root          512 Nov 30 08:29 ..
-r--------  1 root          307 Apr 26  1995 news
-r--------  1 root          244 Dec  2 14:19 root

SunBox.root-#->more root
15 3 * * * find / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune
20 * * * 1-5  /user/root/health2 > /tmp/health.tmp 2>&1
5 4 * * 6 /usr/lib/newsyslog >/dev/null 2>&1
15 4 * * * find /var/preserve/ -mtime +7 -a -exec rm -f {} \;
SunBox.root-#->

crontab -e is used to edit existing crontab files
crontab -l is used to list a user's crontabs
crontab -r is used to remove a user's crontabs

A B C D E  /dir/file.2.b.executed >/dev/null 2>&1

A - minutes   (0 to 59)
B - hours  (0 to 23)
C - day - of - month  (1 and 31)
D - month (1 and 12)
E - day of week  (0 and 7)
/dir/file.2.b.executed >/dev/null 2>&1 - COMMAND field, 
		NOTE:  the % character is translated to a NEWLINE unless
escaped by "\"

=======================================

HP-UX 10.20:
 
----------------------------------------------------------------------------
root@HP_box [/var/spool/cron/crontabs]

>--> ll
total 2
dr-xr-xr-x   2 bin        bin             96 Oct  6 12:21 .
dr-xr-xr-x   5 bin        bin             96 Jul 20 08:24 ..
-r--r--r--   1 root       sys            162 Oct  6 12:21 root
 
----------------------------------------------------------------------------
root@HP_box [/var/spool/cron/crontabs]

>--> more root
# cronjob to create file: /raid/04d/user_scripts/prt_list
# used in /raid/04d/user_scripts/make_prt_list script
#
0 3 * * * /raid/04d/user_scripts/make_prt_list 
 
----------------------------------------------------------------------------

 
----------------------------------------------------------------------------
root@HP_box [/var/adm/cron]

>--> ll
total 16
dr-xr-xr-x   2 bin        bin           1024 Nov 28 10:01 .
drwxr-xr-x  11 adm        adm           1024 Dec  1 09:49 ..
-r--r--r--   1 bin        bin             59 Jun 10  1996 .proto
prw-------   1 root       root             0 Oct  6 12:21 FIFO
-rw-r--r--   1 root       root            64 Nov 25 18:27 OLDlog
-r--r--r--   1 bin        bin             18 Jun 10  1996 at.allow
-r--r--r--   1 bin        bin             14 Jun 10  1996 cron.allow
-rw-r--r--   1 root       root           600 Dec  2 03:02 log
-r--r--r--   1 bin        bin             17 Jun 10  1996 queuedefs
 
----------------------------------------------------------------------------
root@HP_box [/var/adm/cron]


=======================================================
        john meister     sr CAD sys admin
    ( http://www.wagoneers.com/     john-wagoneers.com )
=======================================================