The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun Solaris version 10: cron job does not send the default message. cmnguyen SUN Solaris 2 12-13-2005 09:59 AM
cron is already running message... GNMIKE UNIX for Dummies Questions & Answers 3 07-11-2005 05:49 AM
Running "wall" command from cron xadamz23 Shell Programming and Scripting 1 05-27-2005 05:43 PM
Cron message queue problem mattd UNIX for Dummies Questions & Answers 7 12-16-2003 04:24 PM
How can I deny messaging which use "wall" to send message out? wilsonchan1000 UNIX for Dummies Questions & Answers 7 07-17-2002 07:06 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-06-2005
Registered User
 

Join Date: Apr 2005
Posts: 22
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
Reply With Quote
Forum Sponsor
  #2  
Old 07-06-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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.
Reply With Quote
  #3  
Old 07-07-2005
Registered User
 

Join Date: Apr 2005
Posts: 22
Tnks .... with your help i have resolve

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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0