Cron wall message problem

Operating system sun solaris 5.8

My problem is :

crontab -e

15 16 * * * /bckscripts/oo
vi /bcscripts/oo = wall " stop backup "

the system at the 16:15 all day time doesn't display message " stop backup "

What's the problem ???

i'am root user the follow is the root dir :vi /var/spool/cron/crontabs/root
15 16 * * * /bckscripts/oo

TNKS in advance

If you do the command you put in the script from the command line, don't you get an error stating 'Cannot open stop backup'?

Put your message into a file. Use either of the following in the script:
cat /yourdir/your-msg-file | wall
wall < /yourdir/your-msg-file

where /yourdir/your-msg-file is the file you use to contain the message you want to send. Add the -a option to send to all terminals.

Tnks .... with your help i have resolve :slight_smile:

Can i ask a question ?

I backup my system with the utility ufsdump :

ufsdump 0cfu /expbck/bcksunver/c0t0d0s0 /dev/rdsk/c0t0d0s0

the c0t0d0s0 is a partition of the one phisical volume there is a command that display all partitions ?? the format command show the phisical volume but not the partition ....

the second question is correct to do the backup of the partition or is bettere the backup of the entire phisical volume ??? if my system crash or broke a disk wich is the better metod to restore the backup ? with the backup of single partition or the backup of phisical volume ???

tnks