script for sun os

script for sun os

hi all!
i can't make script for sun os
i have one server sun: 192.168.0.4
user/password: root/root
Mode of Monitoring: telnet
Command Prompt: #
 i connected to server but not run script
script:
Display Name: check_cdr
Script Location:  Remote Server      192.168.0.4(root)
Script to Monitor: /check_cdr/check.sh
Execution Directory: /chek_cdr/
Output Settings
Output File: /check_cdr/cdr.log
Delimiter: =
 
-->> but script not run
(no creat file cdr.log)
 
 
note: check.sh
echo "date=" $(date)>/check_cdr/cdr.log
echo  "server1=2">>/check_cdr/cdr.log
 
 
 
Can you help me!!!!!

                New to ADSelfService Plus?