Sponsored Content
Top Forums UNIX for Advanced & Expert Users missing Path(in UNIX) when i launch a job on to unix machine using windows SSh Post 88408 by megastar on Thursday 3rd of November 2005 05:02:22 PM
Old 11-03-2005
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi

i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application searches for .CFG in the root bin. what sould i do to overcome this?
when i open a ssh window and run this unix application it runs fine i.e it searches in the correct place for .CFG

your help is appreciated.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

backup unix files from a windows machine

hello guys , Is there a way to backup unix files from a windows 2003 server i have a tape drive in the unix box but just for extra security what would be the best way to backup unix files . Thanks a lot (7 Replies)
Discussion started by: josramon
7 Replies

2. UNIX for Advanced & Expert Users

Identify a remote machine as windows or unix

Hi, I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?. Regs Anand (5 Replies)
Discussion started by: u449064
5 Replies

3. UNIX for Dummies Questions & Answers

Executing application on Windows from Unix machine

I have two machines, one running Windows and another one Unix over a network. I want to execute a batch file on the Windows machine using a script running on the Unix machine. I have tried creating a rsa key and transferrring it to the destination machine but it doesn't work. The purpose was to... (3 Replies)
Discussion started by: MobileUser
3 Replies

4. Shell Programming and Scripting

How to get Windows machine's IP address from Unix?

I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that ifconfig will give unix mahcine's IP address currently logged in.) (3 Replies)
Discussion started by: mvictorvijayan
3 Replies

5. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

6. Shell Programming and Scripting

UNIX Environment on Windows Machine

Hello World,:cool: Is there a Way to create a UNIX enviornment on Windows bases Machine for enchancing my Skills regarding UNIX scripting.:confused: I know a software name VMware but i dont know how to confiure it:rolleyes:. If this is the apporitate tool for UNIX please guide me the... (3 Replies)
Discussion started by: jojo123
3 Replies

7. UNIX for Dummies Questions & Answers

learning UNIX on a Windows 2000 machine?

What is the best way to learn UNIX, shell, and Perl on a Windows 2000 machine? My place of employment uses Solaris and Perl and I would like to learn some UNIX skills on my home PC. I read about "dual boots", "Microsoft Windows Services for UNIX", and "cygwin". What other free options are... (9 Replies)
Discussion started by: wolfv
9 Replies

8. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

9. UNIX Desktop Questions & Answers

How to practice unix commands on windows 7 machine

Hello, I am pretty new to UNIX and would like to know how i can run unix commands on a windows 7 machine. Basically, I want to practice running commands, created bash/awk/etc. scripts. I've read some things about cygwin, but it doesn't sound like it's exactly what I'm looking for. Any... (4 Replies)
Discussion started by: tester213
4 Replies

10. Shell Programming and Scripting

How to do ftp from UNIX to windows machine?

hi, i am using ftp command to transfer files from unix server to windows server using a web interface. there is a shell script which is called by the web page which executes a ftp command which (ftp) tries to connect to the windows machine and asks for username and password. so in order to... (6 Replies)
Discussion started by: Little
6 Replies
HOBBITLAUNCH.CFG(5)						File Formats Manual					       HOBBITLAUNCH.CFG(5)

NAME
hobbitlaunch.cfg - Task definitions for the hobbitlaunch utility SYNOPSIS
~xymon/server/etc/hobbitlaunch.cfg DESCRIPTION
The hobbitlaunch.cfg file holds the list of tasks that hobbitlaunch runs to perform all of the tasks needed by the Xymon monitor. FILE FORMAT
A task is defined by a key, a command, and optionally also interval, environment, and logfile. Blank lines and lines starting with a hash mark (#) are treated as comments and ignored. Long lines can be broken up by putting a back- slash at the end of the line and continuing the entry on the next line. An entry looks like this: [hobbitd] ENVFILE /usr/local/xymon/server/etc/hobbitserver.cfg CMD /usr/local/xymon/server/bin/hobbitd [updateweb] ENVFILE /usr/local/xymon/server/etc/hobbitserver.cfg CMD /usr/local/xymon/server/bin/bbgen NEEDS hobbitd GROUP webupdates INTERVAL 5m ONHOST localhost MAXTIME 10m LOGFILE /var/log/xymon/updateweb.log The key is enclosed in angle brackets, and must be unique for each task. You can choose your key-names as you like, they are only used internally in hobbitlaunch to identify each task. The command is defined by the CMD keyword. This is the full command including any options you want to use for this task. This is required for all tasks. The DISABLED keyword means that this command is disabled. hobbitlaunch will not start this task. It is recommended that you use this to disable standard tasks, instead of removing them or commenting them out. Upgrades to Xymon will add standard tasks back into the file, so unless you have them listed as DISABLED then tasks may re-appear unexpectedly after an upgrade. The ONHOST keyword tells hobbitlaunch that this task should only run on specific hosts. After the ONHOST keyword, you must provide a "regu- lar expression"; if the hostname where hobbitlaunch runs matches this expression, then the task will run. If it doesn't match, then the task is treated as if it were DISABLED. The MAXTIME keyword sets a maximum time that the task may run; if exceeded, hobbitlaunch will kill the task. The time is in seconds by default, you can specify minutes, hours or days by adding an "m", "h" or "d" after the number. By default there is no upper limit on how long a taskmay run. The NEEDS instructs hobbitlaunch not to run this task unless the task defined by the NEEDS keyword is already running. This is used e.g. to delay the start of some application until the needed daemons have been started. The task that must be running is defined by its key. The GROUP keyword can be used to limit the number of tasks that may run simultaneously. E.g. if you are generating multiple pagesets of webpages, you dont want them to run at the same time. Putting them into a GROUP will cause hobbitlaunch to delay the start of new tasks, so that only one task will run per group. You can change the limit by defining the group before the tasks, with a "GROUP groupname max- tasks" line. The INTERVAL keyword defines how often this command is executed. The example shows a command that runs every 5 minutes. If no interval is given, the task is only run once - this is useful for tasks that run continually as daemons - although if the task stops for some reason, then hobbitlaunch will attempt to restart it. Intervals can be specified in seconds (if you just put a number there), or in minutes (5m), hours (2h), or days (1d). The ENVFILE setting points to a file with definitions of environment variables. Before running the task, hobbitlaunch will setup all of the environment variables listed in this file. Since this is a per-task setting, you can use the same hobbitlaunch instance to run e.g. both the server- and client-side Xymon tasks. If this option is not present, then the environment defined to hobbitlaunch is used. The ENVAREA setting modifies which environment variables are loaded, by picking up the ones that are defined for this specific "area". See hobbitserver.cfg(5) for information about environment areas. The LOGFILE setting defines a logfile for the task. hobbitlaunch will start the task with stdout and stderr redirected to this file. If this option is not present, then the output goes to the same location as the hobbitlaunch output. SEE ALSO
hobbitlaunch(8), hobbitd(8), xymon(7) Xymon Version 4.2.3: 4 Feb 2009 HOBBITLAUNCH.CFG(5)
All times are GMT -4. The time now is 04:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy