[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
|
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
OSF/1 3.2C
AlphaServer8200
A customer sent me a problem report. He tried to file rename by cron at AM0:00
everyday. But sometime cron executed at 23:58.(not every time.)
He said "cron execute not a setting time".
# crontab -r
0 0 * * * /usr/stage/run/ini/bin/move_sh > /dev/null
#
# cat move_sh
LOG=messages
cd /var/adm
test -f abort_mesg.e && mv abort_mesg.e abort_mesg.f
test -f abort_mesg.d && mv abort_mesg.d abort_mesg.e
test -f abort_mesg.c && mv abort_mesg.c abort_mesg.d
test -f abort_mesg.b && mv abort_mesg.b abort_mesg.c
test -f abort_mesg.a && mv abort_mesg.a abort_mesg.b
test -f abort_mesg.9 && mv abort_mesg.9 abort_mesg.a
test -f abort_mesg.8 && mv abort_mesg.8 abort_mesg.9
test -f abort_mesg.7 && mv abort_mesg.7 abort_mesg.8
test -f abort_mesg.6 && mv abort_mesg.6 abort_mesg.7
test -f abort_mesg.5 && mv abort_mesg.5 abort_mesg.6
test -f abort_mesg.4 && mv abort_mesg.4 abort_mesg.5
test -f abort_mesg.3 && mv abort_mesg.3 abort_mesg.4
test -f abort_mesg.2 && mv abort_mesg.2 abort_mesg.3
test -f abort_mesg.1 && mv abort_mesg.1 abort_mesg.2
test -f abort_mesg.0 && mv abort_mesg.0 abort_mesg.1
mv abort_mesg abort_mesg.0
cp /dev/null abort_mesg
chmod 644 abort_mesg
#
# ls -l
-rw-r--r-- 1 root Stage 0 Apr 10 23:58 abort_mesg
-rw-r--r-- 1 root Stage 0 Apr 09 23:58 abort_mesg.0
-rw-r--r-- 1 root Stage 0 Apr 08 23:59 abort_mesg.1
-rw-r--r-- 1 root Stage 0 Apr 08 00:00 abort_mesg.2
-rw-r--r-- 1 root Stage 0 Apr 07 00:00 abort_mesg.3
-rw-r--r-- 1 root Stage 0 Apr 06 00:00 abort_mesg.4
-rw-r--r-- 1 root Stage 0 Apr 04 23:59 abort_mesg.5
-rw-r--r-- 1 root Stage 0 Apr 04 00:00 abort_mesg.6
-rw-r--r-- 1 root Stage 0 Apr 03 00:00 abort_mesg.7
-rw-r--r-- 1 root Stage 0 Apr 02 00:00 abort_mesg.8
-rw-r--r-- 1 root Stage 0 Apr 01 00:00 abort_mesg.9
-rw-r--r-- 1 root Stage 0 Mar 31 00:00 abort_mesg.a
-rw-r--r-- 1 root Stage 0 Mar 30 00:00 abort_mesg.b
-rw-r--r-- 1 root Stage 0 Mar 29 00:00 abort_mesg.c
-rw-r--r-- 1 root Stage 0 Mar 28 00:00 abort_mesg.d
-rw-r--r-- 1 root Stage 0 Mar 27 00:00 abort_mesg.e
-rw-r--r-- 1 root Stage 0 Mar 26 00:00 abort_mesg.f
Can you tell me what's wrong here ?
Thanks in advice,
Eiji Kobayashi/CSC/MCS/DECJAPAN
T.R | Title | User | Personal Name | Date | Lines
|
---|