It is a binary file. I guess you fired just /navs/sys/appl/bin/record instead of file /navs/sys/appl/bin/record as fpmurphy suggested.
Please note file is a command and we didn't mean anything else.
Try to find out if record uses some environment variables. May be refer to its manual/document if available or ask your colleagues.
Meanwhile,
Check and see the current environment setting from which you are executing command manually with env
Plus, as other's suggested, update the cron entry as
Hi,
I worte a script which runs perfect when i execute it manually. But when i scheduled into cron the grep command alone is not working.
the sample script,
/usr/bin/grep FTP $subfile > /tmp/tfsrec.dat
tfs=`echo $?`
if
then
echo "FTP FOUND"
else
echo "FTP NOT FOUND"
Where... (5 Replies)
Hello,
I have written a script that has a sudo command to change file permissions within it.
When I run the script manually, the sudo command inside of it works fine.
When the script is run through crontab I get the error "cron: not found".
It the same user profile that I am using... (6 Replies)
Hi All,
i have a cron entry like
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /amex/sssmonitor/dss_chk.ksh
and the script is like
#!/bin/ksh
file=`uname -n`
> /sunmast/projects/oasis/COREDEV/Dss$file.log
> /tmp/output_sss
today=`date`
varb=`ps -ef | grep... (5 Replies)
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Hi
1st problem
--------------
i have this sed command in my unix script which replaces new line and carriage return in a line with the string "
"
the script works fine in Linux 3.0.101-0.5, but not in AIX 1 7 , the "s/\r/\
/g" replacement, replaces
all the character "r" in the file.... (3 Replies)
Hi- I need to set a mail trap for checking the cron job filures in a server.
I have many cron jobs running in our server. What unix command will identify the failed cron jobs?
Your thoughts please!!!!! (6 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that allows the user to print the first n lines or the last n lines of every file in the... (18 Replies)
Discussion started by: lukefrost96
18 Replies
LEARN ABOUT SUNOS
gnome-sound-recorder
gnome-sound-recorder(1) User Commands gnome-sound-recorder(1)NAME
gnome-sound-recorder - record and play back soundtracks
SYNOPSIS
gnome-sound-recorder [--file=filename] [--play=filename] [--record=filename] [--version]
DESCRIPTION
gnome-sound-recorder provides a graphical user interface to record soundtracks and play these back on your computer. You can use the Pref-
erences dialog to configure several recording options. For more details, press the F1 key to display the online help.
You can also launch an audio mixer using the File menu. The mixer used in GNOME for the Solaris operating environment is sdtaudiocon-
trol(1).
gnome-sound-recorder also uses sox(1) to play back the recorded soundtrack.
OPTIONS
The following options are supported:
--file=filename Open the specified audio file. You must click on the Play button to start playing the audio file. You can also use -f to
specify this option.
--play=filename Open the specified audio file and start playing the file. You can also use -p to specify this option.
--record=filenamSave the sound being played on your computer into the specified file. You can also use -r to specify this option.
--version Display the version number.
EXAMPLES
Example 1: Opening a File With gnome-sound-recorder
example% gnome-sound-recorder -f filename.wav
Example 2: Saving the Recorded Sound to a File
example% gnome-sound-recorder -r filename.wav
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
HOME User's home directory.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-sound-recTheecommand-line executable for the application.
/usr/dt/bin/sdtaudiocontThe command-line executable for the mixer used in GNOME for the Solaris operating environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-sound-recorder |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO sdtaudiocontrol(1), sox(1), gst-std-options(5)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 gnome-sound-recorder(1)