i have a problem with unix


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users i have a problem with unix
# 15  
Old 10-09-2006
oh,, so is there other ways to run the program at specified time and show pop-up???
# 16  
Old 10-09-2006
Hi,

Before pop-up include the below line in the script. So it will work in crontab also.

export DISPLAY=localhost:0.0
# 17  
Old 10-09-2006
hi,
if i use a say command, it is means that i put it like this?

export DISPLAY=localhost:0.0
say Hello

or i put it at the end of my script at the very last line???
# 18  
Old 10-09-2006
Hi,

Put "export DISPLAY=localhost:0.0" line in ur script in the begnning only once. It will work.
# 19  
Old 10-09-2006
hi,
isit like tis? this is an example of the program. its file name is [testtest]
[
export DISPLAY=localhost:0.0
#!/bin/sh

a="1"
b="2"
c="3"
d="4"
while true
do
if [ $a = $b ] ; then
echo "$a"
[
if [ $c = $d ] ; then
say "$c"
else
say "$d"
fi
else
say "$b"
fi
done
]


then in the crontab command i put
[
45 13 * * * /usr/asm/sys.2862/testtest > /dev/null 2>&1
]


am i right if i put it in this way??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Typical problem in UNIX

Input file I have a file with four fields. f1,f2,f3,f4 A,1,10,00,S B,2,20,00,00,D C,3,100,00,00,G I want Output like f1|f2|f3|f4 A|1|10,00|S B|2|20,00,00|D C|3|100,00,00|G please help on this (4 Replies)
Discussion started by: bharat1211
4 Replies

2. UNIX for Advanced & Expert Users

Problem with a lp from UNIX

Hi, how we are? I have a problem, I have a PDF in unix and i call a Shellscript, it does : lp -d queue archive.pdf A simply print. I have many printers, so in some printers the PDF is printing with a diferent margin left and right margins, it cuts the really print. I try fix it,... (6 Replies)
Discussion started by: dcastellini
6 Replies

3. Shell Programming and Scripting

pl/sql in unix problem

hi all i have written this small code. sqlplus $schema_name/$passwrd@$instance <<eof set serveroutput on; declare lv_count pls_integer; lv_option varchar2(20); begin select count(*) into lv_count from all_objects where upper(object_name)=upper('$temp_file1');... (1 Reply)
Discussion started by: infyanurag
1 Replies

4. SCO

unix installation problem

hi, im tring installaing sco unix 5.05 in my pc but it is showing an "memory error loading kernel fd(64)unix.text loading ram disk image fd(64)rootfs" can anybody tell me how to solve this problem. my system configuration is 3.2ghz processor,1gb ram,d101ggc mother board thank u bln (1 Reply)
Discussion started by: blnprasad
1 Replies

5. UNIX for Dummies Questions & Answers

Unix 10.2 Backup Problem

We have an older HP Unix 10.20 system that we rarely ever use anymore. Most of our jobs on it are from 1994 to 2002. Anything after that is on Windows XP. The Unix system was backed up religiously every day. Because of space constraints some of the jobs were removed from the system after a... (3 Replies)
Discussion started by: fozzybear
3 Replies

6. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

7. UNIX for Advanced & Expert Users

Problem booting unix

Hello, We had a system shutdown last night and now the server won't boot because of volume is seriously damaged (this affects all volumes). Any suggestions on how to repair. Any suggestions welcome Thanks (1 Reply)
Discussion started by: bobman
1 Replies

8. SCO

Problem during unix installation

i have a problem with installing unix after booting system by itself floppy , during checking the hardware devices computer hangs , and stops. it checks: %fpu %serial %floppy %console %pci %adapter %tape %cd-rom G hd_config in this place system got stop. remember i passed this step at... (1 Reply)
Discussion started by: uranium
1 Replies

9. UNIX for Dummies Questions & Answers

UNIX problem? Unix programm runs windows 2000 CPU over 100%

Okee problems...!! What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies

10. UNIX for Dummies Questions & Answers

Unix login problem

When i am trying to login to my unix machine. It is directly loging me into root ( / ) directory, instead of my home directory. Why this is happening. And generally when this happens (4 Replies)
Discussion started by: ds_sastry
4 Replies
Login or Register to Ask a Question