09-09-2013
You were faster than me Scott...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
I need to schedule a no.of jobs using the cron facility.
I currently do two kinds of scheduling,one based on the database load(after the database is loaded the program will start) and the other is based on time.....(say 10.00a.m daily)
the problem is..........
When the database is loaded... (1 Reply)
Discussion started by: sireesha15
1 Replies
2. Shell Programming and Scripting
the follwing script is running fine , when run from the ksh shell...it runs properly i.e. waits for a file "test.flag" and sends mail accordingly.
But when I schedule it in the crontab ...it does not run at the specified time (it never runs).
I am using ksh
####shell script starts
count=1... (4 Replies)
Discussion started by: ace@123
4 Replies
3. UNIX for Dummies Questions & Answers
I have cron scheduing that after hotbackup omniback kicks in and back up tape.
00 17 * * * /usr/local/bin/archbakPRD/mainPRDbackup.sh > /usr/local/bin/archbakPRD/dbfcopy.log 2 >&1
above cron can fired every night at 5PM but omnibackup need to have seperate name for each backup ( i.e:... (1 Reply)
Discussion started by: Paul.S
1 Replies
4. Solaris
Hi ,
I am trying to set up a cron job for getting the prstats for every 10 minutes to a log file.
prstat -s cpu -n 20 > a.txt
The issue is when i try to execute this command, a.txt is filling up with data for every second which is not i wanted.I just need top 20 processes for every 10... (2 Replies)
Discussion started by: pyaranoid
2 Replies
5. Shell Programming and Scripting
Hi,
How to write the recursive function.
I have a script,
#!/usr/bin/ksh
##
name=$1
outputfile='output.log'
sqlplus -s > ${outputfile} <<__END__
${USER}/${PASS}@${DB}
WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
WHENEVER OSERROR EXIT FAILURE ROLLBACK
SET ECHO ON
SET SERVEROUTPUT... (3 Replies)
Discussion started by: sandy1028
3 Replies
6. Shell Programming and Scripting
Hi all,
I am new to cron jobs..
i wanted to schedule a cron job that wil send a mail to me at 3:00PM on 10th August ie is on Wednesday.
0 15 10 8 3 echo "message from UNIX here"|mail -s "your subject here" user@user.com
However this was not executed...
Can anyone please... (0 Replies)
Discussion started by: ch33ry
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can anyone help me out with scheduling a cron job for the below:
i wnated to delete file from a folder on every sunday at 05:00 AM
this is code i have used.
*******************************************************
0 05 * * 0 find /abc/xyz/pqrs/bak/ -type f -mtime +30 -exec rm -f... (5 Replies)
Discussion started by: ch33ry
5 Replies
8. Shell Programming and Scripting
Hi All,
Is there any way (any utility) to schedule a job to run once in a week on RedHat Linux ?
Note- Do not using Crontab.
Thanks
Pravin (1 Reply)
Discussion started by: pravin27
1 Replies
9. UNIX for Beginners Questions & Answers
Scheduled job is not running on time.but it is running when executing same command manually.
25 10 * * * /code/bin/ACCOUNT.ksh 1 >/dev/null 2 >&1
Manually executing the same
Ksh -x /code/bin/ACCOUNT.ksh 1 >/dev/null 2 >&1
Followed steps
Crontab -e
Added the job to cron tab. (4 Replies)
Discussion started by: Myguest
4 Replies
LEARN ABOUT DEBIAN
btrace
BTRACE(8) BTRACE(8)
NAME
btrace - perform live tracing for block devices
SYNOPSIS
btrace [-s] [-t] [-w N] [-n N] [-b N] [-r <dbg mnt>] [-a <trace>...] <dev>...
DESCRIPTION
The btrace script provides a quick and easy way to do live tracing of block devices. It calls blktrace on the specified devices and pipes
the output through blkparse for formatting. See blktrace (8) for more in-depth information about how blktrace works.
OPTIONS
-s Displays data sorted by program (see blkparse (1)).
-t Displays time deltas per IO (see blkparse (1)).
-w N Sets run time to the number of seconds specified (see blktrace (8)).
-n N Specifies the number of buffers to use (see blktrace (8)).
-b N Specifies buffer size for event extraction (scaled by 1024) (see blktrace (8)).
-r <dbg mnt> Specifies the debugfs mountpoint.
-a <trace>... Adds mask to current filter (see blktrace (8)).
<dev> Specifies the device to trace.
EXAMPLE
Simply running
% btrace /dev/sda
will show a trace of the device /dev/sda.
AUTHORS
blkparse was written by Jens Axboe, Alan D. Brunelle and Nathan Scott. This man page was created from the blktrace documentation by Bas
Zoetekouw.
REPORTING BUGS
Report bugs to <linux-btrace@vger.kernel.org>
COPYRIGHT
Copyright (C) 2006 Jens Axboe, Alan D. Brunelle and Nathan Scott.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
This manual page was created for Debian by Bas Zoetekouw. It was derived from the documentation provided by the authors and it may be
used, distributed and modified under the terms of the GNU General Public License, version 2.
On Debian systems, the text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
SEE ALSO
blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1), btt (1)
blktrace git-20070306202522 March 6, 2007 BTRACE(8)