02-08-2015
Not unless you provide answers.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there, this is part of my script:
/usr/bin/cd /u01/oradata
/usr/bin/cp `/bin/ls -1 . |grep -v "^DIMStemp01.dbf$" | grep -v "^DIMSts01.dbf$"|grep -v "^DIMStects01.dbf$"` /backup
It's working fine when I manually run on telnet session.
/bin/ls -1 . -- to list all the files inside... (2 Replies)
Discussion started by: *Jess*
2 Replies
2. Shell Programming and Scripting
Hi,
This script is working successfully when i executed from shell prompt, but the same script scheduled in crontab its not deleting the files,
#! /bin/bash
DAY_1=`(date --date='4 months ago' '+%Y-%m')`
log=/tmp/cleant
adir=/u01/app/oracle/admin/talon/adump... (4 Replies)
Discussion started by: saha
4 Replies
3. Shell Programming and Scripting
I have the following expect script sitting on a Linux box.
===
#!/usr/bin/expect -f
#
# backup.expect
#
# Expect script to backup a firewall via a SSH session
#
#
set firewall
set username
set password
set prompt
set filename
match_max 50000
spawn ssh -l... (2 Replies)
Discussion started by: alagondar
2 Replies
4. Shell Programming and Scripting
I have made a shell script(/bin/sh) that starts a perl script (that I haven't made my self) that's starts a ssh session. The ssh session uses a private/public key to login so no password is needed. The Perl script works perfect.
But when I put it in a cronjob (crontab) the ssh connection asks... (6 Replies)
Discussion started by: splinter_cell
6 Replies
5. Shell Programming and Scripting
Hi
I have created a script. Which i have configured in cron to make it run in every 2 min. But script is not running. If I checl the cron log at /var/cron/log .it shows its running in every 2 min. Below is the command which i configured in crontab.
But I am not able to find the way so that... (9 Replies)
Discussion started by: nandan8a
9 Replies
6. UNIX for Dummies Questions & Answers
This is the crontab it is supossed to be running everyday but it didnt
5 0 * * * /export/app/CO/opge/scr/Informe_parametros_colombia.ksh >/dev/null 2>&1
Inside the above script connects to a database and extract data to a flat file, manually i run the script at about 2 a.m. and Works OK,... (6 Replies)
Discussion started by: alexcol
6 Replies
7. Shell Programming and Scripting
Hi All,
I am testing expect script in command prompt without issue, but in crontab it is not working, i check the output error as below:
#cat /var/log/testexp.log
spawn minicom -C /var/log/minicom1.log
No cursor motion capability (cm)
AT+COPS=?
I am new in scripting, together... (1 Reply)
Discussion started by: elingtey
1 Replies
8. Red Hat
Hi all,
I'm working to a script with /bin/bash shebang.
The script works perfectly if I run from command line.
The script runs under a non root user and inside the commands are set with sudo command in a such a way they can be run under root, for example (first rows of the script):... (5 Replies)
Discussion started by: idro
5 Replies
9. Shell Programming and Scripting
Hi,
I have written one script which is connecting to the the database and generating one CSV, it is running fine when i ran it manually though it is throwing any warning but CSV is generating and working fine but same script when i have configured in crontab not working and giving error, kindly... (1 Reply)
Discussion started by: ash1234
1 Replies
10. Red Hat
I am Not sure why following script is not capturing the counts only when using crontab !! when I run it fromt he command line it is fine ! what is missing here !
#!/usr/bin/ksh
host=`uname -n`
tdate=`date`
userid='dbid/password'
totalevents=`sqlplus -s $userid << -
set timing off
... (1 Reply)
Discussion started by: mrn6430
1 Replies
LEARN ABOUT OSX
doctools_lang_faq
doctools_lang_faq(n) Documentation tools doctools_lang_faq(n)
__________________________________________________________________________________________________________________________________________________
NAME
doctools_lang_faq - doctools language faq
DESCRIPTION
OVERVIEW
WHAT IS THIS DOCUMENT?
This document is currently mainly a placeholder, to be filled with commonly asked questions about the doctools markup language and compan-
ions, and their answers.
Please report any questions (and, if possible, answers) we should consider for this document in the category doctools of the Tcllib SF
Trackers [http://sourceforge.net/tracker/?group_id=12883].
EXAMPLES
WHERE DO I FIND DOCTOOLS EXAMPLES?
The most examples of doctools markup currently known can be found in the Tcllib and Tklib package bundles where basically the documentation
of all packages is written in it. In Tcllib you will also find the sources for the doctools documentation themselves, which makes use of
nearly all of the available markup commands. You need one of
[1] A CVS snapshot of Tcllib. How to retrieve such a snapshot and the tools required for this are described at http://source-
forge.net/cvs/?group_id=12883
[2] A Tcllib release archive. They are available at http://sourceforge.net/project/showfiles.php?group_id=12883
BUGS, IDEAS, FEEDBACK
This document, will undoubtedly contain bugs and other problems. Please report any such in the category doctools of the Tcllib SF Trackers
[http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either the package and/or
the documentation.
SEE ALSO
doctools_lang_cmdref, doctools_lang_intro, doctools_lang_syntax
KEYWORDS
doctools commands, doctools language, doctools markup, doctools syntax, examples, faq, markup, semantic markup
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools 1.0 doctools_lang_faq(n)