Thank you all
Jimbo, I really like to know what's wrong with my box why it's panic and went down, but this is the 5th times within 1 year that it went down and reboots itself that so far nobody doesn't know what's the cause !!, well one time it causes by java process and causes the fault in page memory. Also, my experience is this box original has problem with java, so I guess most of the time it went down due to java ps (?!), but I am unable to catch where the exact error message, only able to see the message of the booting state, what time it reboots in the /var/log/messages file. By the way, my cron job is running at 10pm and the system crashes is around 5am of next day, so I can eliminate this cause as you said !
Bi, You are so right, the cron file is not original created by crontab -e, I believe due to the set up of vi (?) that I am unable to see all the lines in the cron file, but only 1 line at a time, which causes more difficult for me to edite the file. As the result, I decide to cat a text file into the cron file, but I have questions:
1) I have a mirror disk on another box (a), and this box is stable, however the same cron file (because mirror) does not work anymore after the other box (b) crashes? And strangerly, when the machine (b) went down , all the contain of the cron file is gone, but it does not affect on machine (a), I still see the cron file. It seems the cron file is not mirrored on both machines?
2) How come it works at the first implementation of this cron file? and it still works plus my cron files is still there (at 3 time out of 5 times when the system went down), but this time when my system went down and it trashes the cron file too? and another question about crontab -e. What can I do to be able edit the cron file in vi editor?
my default shell is ksh, but I have tried in csh, sh, even with different user including root, still giving me the same result of displaying the last empty available line in the cron file, which means it looks like not allow me to edite the file, but just add/append new things into this file. I am not sure this is the behavior/set up of the Solaris V8 or we can change it? With other solaris 2.6, I am able to open the cron file using crontab -e . It opens in vi and I am able to see all lines in that file, and I able to edit any line or add new command lines into this line at any where.
Thanks