Search Results

Search: Posts Made By: blackwire
Forum: OS X (Apple) 05-09-2009
7,282
Posted By blackwire
if you only want to see these movies install...
if you only want to see these movies install Flip4Mac, allows you to play Windows Media (wmv) with QuickTime.
Forum: OS X (Apple) 05-08-2009
2,934
Posted By blackwire
a little bit more detailed explained. 1....
a little bit more detailed explained.

1. right-click to the desktop then -> More --> Enable Folder Actions

2. in Terminal App open the window /Volumes
sudo open /Volumes

you will get a...
Forum: OS X (Apple) 05-08-2009
2,934
Posted By blackwire
you can attach a "Folder Action Script" to the...
you can attach a "Folder Action Script" to the director /Volumes
5,931
Posted By blackwire
now it works, this is the solution. ...
now it works,
this is the solution.

#!/bin/sh
#
echo "start"
DATE=`date`
#
if [ `ps -ef | grep -c "[P]opChar"` == "1" ];
then
flag=true
else
echo "POPchar is down"
echo "Exiting now"...
5,931
Posted By blackwire
hi Sachin, the logic is (hope you...
hi Sachin,

the logic is (hope you understand what i mean :) )

a cron job starts a shell script (say "X") once every 24 hours

script "X" takes careof

is process PopChar running ?

if no...
5,931
Posted By blackwire
hi Devaraj, yes i changed the process name...
hi Devaraj,

yes i changed the process name to PopChar but i still have the same behavior i told you bevor

if i start the script and the process PopChar isn't running i immediately get the...
5,931
Posted By blackwire
hi Devaraj, if i now start the script and the...
hi Devaraj,
if i now start the script and the process PopChar isn't running i immediately get the message

start
POPChar is running :confused:
it den cycles through the loop POPChar is running...
5,931
Posted By blackwire
ok. i m now up with this solution. ...
ok. i m now up with this solution.
----------------
#!/bin/csh
while (`ps -ef | grep -c "[P]opChar"` == "1")
echo "PopChar is up"
sleep 30
if (`ps -ef | grep -c "[P]opChar"` == "0") then
echo...
5,931
Posted By blackwire
as i said crontab will be easy... I am having...
as i said crontab will be easy... I am having problems with the shell script loop
5,931
Posted By blackwire
loop when process running
Hi Gurus,
Could you please help me to create a shell script that will be started by a cron job once every night at 24.00 h (that should bee easy:))

The shell script should control every 30...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy