12-07-2006
Can crontab execute binary files?
Hello!
I have an entry on my crontab.
10 00 * * * /bscsprod/bscs/prod/523/bin/tehcron.sh
$ /bscsprod/bscs/prod/523/bin/vi tehcron.sh
nohup teh -t -f > /dev/null &
~
~
~
~
~
~
~
~
"tehcron.sh" 13 lines, 365 characters
but executing the script from the commandline, it works.
$ /bscsprod/bscs/prod/523/bin/tehcron.sh
$ /bscsprod/bscs/prod/523/bin:INFC $ ps -ef|grep teh
bscsprod 4983 1 6 20:15:44 ttyp3 0:00 teh -t -f
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Anyone can help me ?
I try to using crontab with a simple shell script as echo it run okay but now i have more command in script. when I set entry to crontab and whe it run i get mail with error cannot execute binary file.
it urgent so please help me the soutions. Thank so much for your help.... (5 Replies)
Discussion started by: raccsdl
5 Replies
2. Linux
We are getting one error when we execute the binary file below mentioned, and ownership goes to root:nobody, how to resolve this problem.
sh /home/pub/bin/awk: cannot execute binary file
:confused:
Pls help me out . (2 Replies)
Discussion started by: durgaprasadr13
2 Replies
3. Shell Programming and Scripting
HI,
i am trying to execute one .bin file which is a pre-installed (not compiled by me). But I am getting the error "cannot execute binary file".I checked the permissions and everything is ok.
also I checked ldd <bin-filename> andit showed a msg "not a dynamic executable"
Can anyone help in... (4 Replies)
Discussion started by: bhag281
4 Replies
4. Linux
Hi,
I had changed my compiler options earlier so that it would compile and produce output for ARM but now i want to change it back so that i can get the executable for normal linux, I am facing problem, please help me out... it say
-bash: ./a.out: cannot execute binary file
When i had a look... (2 Replies)
Discussion started by: niranjanvg
2 Replies
5. SuSE
When I am trying to execute a script created by Perl2exe in Linux SLES 8.1 running with virtual machine on mainframe s/390 ....I am getting
"cannot execute binary file"....
In the linux server which are not in mainframe the scripts are fine.....
Thanks for help (1 Reply)
Discussion started by: Anu10
1 Replies
6. UNIX for Dummies Questions & Answers
As root, I receive the error message, "cannot execute binary file" when running some commands such as /usr/bin/clear or /usr/sbin/brctl or /usr/sbin/lsof. The system is running RHEL5.5. File permissions are 755. noexec is NOT set on the partitions where these files live.
I've spent a... (6 Replies)
Discussion started by: SmithJ
6 Replies
7. Linux
I'm trying to install JasperReports Server 4.1 on Linux Ubuntu (release 11.04) as root and have following message:
-bash: ./jasperreports-server-cp-4.1.0-linux-x64-installer.run: cannot execute binary file
Is any idea what should I do in order to install Jasper?
Previously, I installed... (6 Replies)
Discussion started by: pots06
6 Replies
8. UNIX for Dummies Questions & Answers
Grettings,
Hi and thanks for taking a look at this. I'm going to attempt to explain this the best I possible can but due to my limited knowledge of linux this may prove difficult. I have attempted to install xcrysden on cygwin following the instruction on xcrysden webpage (I attempted to link the... (2 Replies)
Discussion started by: Zbay
2 Replies
9. Fedora
Hi all,
Probably somewhat of an obvous problem here but i'm no pro.
I just bought a PengPod1000 at pengpod.com
On it I have an image of Fedora 18.
I am trying to run an application I wrote for Fedora 14 32 bit desktop on this tablet. With all permissions setup using chmod but I get... (7 Replies)
Discussion started by: fedora18
7 Replies
10. Red Hat
Hi,
When i was trying to execute binary file i am getting the below " cannot execute binary file " error message."
My Unix Version is : Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Logged in as Sudo user and $PATH Value is below
... (1 Reply)
Discussion started by: Nandy
1 Replies
LEARN ABOUT OPENDARWIN
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)