Sponsored Content
Operating Systems Linux SuSE inconsistent ls command display at the command prompt & running as a cron job Post 302129244 by rajranibl on Monday 30th of July 2007 06:59:16 AM
Old 07-30-2007
We are using suse enterprize 9
Linux 2.6.5-7.283-smp #1 SMP Wed Nov 29 16:55:53 UTC 2006 x86_64 x86_64 x86_64 GNU/Linu
 

10 More Discussions You Might Find Interesting

1. Solaris

How to display hostname in command prompt

Anyone know How to configure solaris 8 to display hostname in command prompt , everytime when you open a terminal screen . (3 Replies)
Discussion started by: civic2005
3 Replies

2. Shell Programming and Scripting

Cron job giving error while running SSH command

Hi All, The script which i am using to SSH to remote server is working fine when i run is using ./ but when cron runs it it gives error that "ssh: not found" please help!!! (3 Replies)
Discussion started by: visingha
3 Replies

3. Shell Programming and Scripting

Sudo command not working with cron job.

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)
Discussion started by: WhotheWhat
6 Replies

4. Shell Programming and Scripting

URGENT: cron job not running the sqlplus command in shell script

cron job not running the sqlplus command in shell script but the shell script works fine from command line.. Cronjob: 5 * * * * /home/dreg/script.sh script.sh: #!/bin/ksh /oracle/u000/app/oracle/product/10204/GEN/bin/sqlplus -s <user>/<pass>@<sid/home/dreg/sqlscript.sh ... (18 Replies)
Discussion started by: Ikea
18 Replies

5. UNIX for Dummies Questions & Answers

Cron job to run a command from another dir?

I would like to setup a cron job to run a command from another directory. What is the best way to do this? The cron file is in a directory and the script I want it to run is in another directory. I tried doing this in the cron file: /location/of/command/run.sh But that did not work.... (2 Replies)
Discussion started by: Sepia
2 Replies

6. Shell Programming and Scripting

command job not running

Hi, I have an autosys box job and 2 command jobs. When i force start the box job the command jobs are moving to 'Active' state but are not running. I have tried various options for the start times and run windows but doesnt seem to work. Any help is appreciated update_job: job1.jil... (1 Reply)
Discussion started by: userscript
1 Replies

7. Shell Programming and Scripting

Problem with sar command in cron job

HI, I have a problem with 'sar' command. I am using the sar comman in script.when i execute the script manually using ./filenae, i am getting the desired output. But when i put the script in cron job i am not getting the desired value. Below is the script.. sar > $_LOCATION/sar.txt... (2 Replies)
Discussion started by: ahamed
2 Replies

8. Shell Programming and Scripting

cron job: command not found

Hi, I have a simple script. When I run it as cron job. I jot email saying: /bin/sh: line 1: test.tmp: command not found. the test.tmp looks like: #!/bin/sh date > done Even I took first line out, I got the same error. The current shell I have is /bin/tcsh Could anyone help me... (2 Replies)
Discussion started by: natxie
2 Replies

9. Shell Programming and Scripting

Cron Job - date command problem

Hi I have one problem with cron job in Control Panel. I have a log file that is created once a day on another server and I need to transfer it in an exact time to my server so I wrote the cron job for it BUT the problem is in the date command: /filelog-`date +%Y-%m-%d`.tar.gz; The file... (1 Reply)
Discussion started by: bobo_balde
1 Replies

10. Shell Programming and Scripting

Cron job cannot run the command

Hi, I created this cron job for asterisk to send sms daily to a number #!/bin/sh #custom mod - send sms once a day, at 07:00. CRON_PATH="/etc/asterisk/gw/crontabs_root"; if ! grep 'gsm send sms' $CRON_PATH > /dev/null 2>&1 ;then echo "* 7 * * * asterisk -rx 'gsm send sms 1 7666... (4 Replies)
Discussion started by: jazzyzha
4 Replies
DRBLSRV(8)						      Administration commands							DRBLSRV(8)

NAME
drblsrv - program to make a DRBL server SYNOPSIS
drblsrv [{-f | --force-yes}] [{-i | --install}] [{-u | --uninstall}] [{-v | --verbose}] [{-t | --testing} {y | n}] [{-a | --unstable} {y | n}] [{-n | --netinstall} {y | n}] [{-m | --smp-client} {y | n}] [{-x | --set-proxy} {y | n}] [{-c | --console-output} {y | n}] [{-g | --upgrade_system} {y | n}] [{-k | --client_archi} {0 | 1 | 2}] [{-o | --client_kernel_from} {1 | 2}] [{-s | --skip-select-repository}] [{-l | --language} {0 | 1 | 2}] drblsrv [{-h | --help} | {-v | --version}] DESCRIPTION
drblsrv is a program to build or maintain a DRBL server. OPTIONS
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -f, --force-yes force yes, only for Debian-like distribution. It should not be used except in very special situations. Using force-yes can potentially destroy your system! -i, --install install DRBL. -u, --uninstall uninstall DRBL. -v, --verbose verbose mode. -t [y/n], --testing [y/n] use packages in testing branch or not. -a [y/n], --unstable [y/n] use packages in unstable branch or not. -n [y/n], --netinstall [y/n] install the network installation program or not. -m [y/n], --smp-client [y/n] use SMP kernel for DRBL clients or not. -x [y/n], --set-proxy [y/n] set proxy or not. -c [y/n], --console-output [y/n] set console output for client or not. -g [y/n], --upgrade_system [y/n] upgrade system or not. -k [0|1|2], --client_archi [0|1|2] set the client's CPU arch, 0 for i386, 1 for i586, 2 for same level with DRBL server (for x86_64, use 2). -o [1|2], --client_kernel_from [1|2] choose client's kernel image from, 1 from DRBL server running kernel (if available), 2 from ayo repository. -s, --skip-select-repository skip the question for selecting repository. -l [N], --language [N] Set the language to be shown, where N: 0: English, 1: Traditional Chinese (Big5) - Taiwan, 2: Traditional Chinese (UTF-8, Unicode) - Taiwan. -h, --help Show summary of options. -v, --version Show version of program. FILES
/etc/drbl/drbl.conf The system-wide configuration file to control the behaviour of drblsrv. See drbl.conf(5) for further details. ${HOME}/.drbl.conf The per-user configuration file to control the behaviour of drblsrv. See drbl.conf(5) for further details. ENVIRONMENT
DRBL_SCRIPT_PATH If used, the defined path is used to access each of drbl's routine scripts. DIAGNOSTICS
The following diagnostics may be issued on stderr: Any error messages worth to be reported in this manpage? If so, they should be documented here. drblsrv provides some return codes, that can be used in scripts: Code Diagnostic 0 Program exited successfully. 1 is such documentation useful? If no, erase it. KNOWN BUGS
The program is currently limited to only work with ... [some known bugs?] SEE ALSO
drbl.conf(5), drblpush(8) AUTHORS
Georges Khaznadar <georgesk@ofset.org> Wrote this manpage for the Debian system, based on the output of the command "drblsrv -h". Steven Shiau <steven@nchc.org.tw> Wrote the command drblsrv, including its short documentation. COPYRIGHT
Copyright (C) 2011 Georges Khaznadar This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. drblsrv 12/27/2011 DRBLSRV(8)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy