04-13-2009
I hope I did this right, I have added the code tags - I thought they should be whereever processing is done? Please let me know. Thanks for your time. Dale
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My question is:
i have a script called getevent
to run i just call ./getevent
can i convert this to make it binary executable and not letting my clients open it and see the code.??:(
I am using Solaris 8. (3 Replies)
Discussion started by: bcheaib
3 Replies
2. Windows & DOS: Issues & Discussions
Hi,
I am a newbie and do not have much experience using unix. But I have been trying to understand it. I found the following unix script
typeset -i n=0
while
do
sleep 5
echo "${n}:Fluent is running...."
n=${n}+1
done
I have the following doubts:
1) In the first line - I am aware... (1 Reply)
Discussion started by: karthiksrao
1 Replies
3. Shell Programming and Scripting
I have oracle 9i database installed with UTF-8 Encoding.
I want a perl script that converts unicode to utf8 before commiting in database and utf8 to unicode when retreiving from database
For example :
the word Ïntêrnatïônàlîzâtion has to be stored in database as Internationalization and when retreived... (6 Replies)
Discussion started by: vkca
6 Replies
4. AIX
Can anyone provide me with a ksh or bash script which will accept a timestamp (format is YYYY-MM-DD-HH24.Mi.Ss) and time offset (in hours). The output will be (timestamp passed - time offset passed deducted from it) in the same YYYY-MM-DD-HH24.Mi.Ss format.
Basically I am trying to convert the... (1 Reply)
Discussion started by: shibajighosh
1 Replies
5. Shell Programming and Scripting
thanks for allowing me join your forum
i have an output of linux command "who"
which provides following details.....
CURRENT USER/ACCT INFO
17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi... (1 Reply)
Discussion started by: ayyappancheta
1 Replies
6. Shell Programming and Scripting
Hi
I have a file in the format with so many records
DB2 Universal JDBC Driver Provider,wdialdcsq,New JDBC Datasource,jdbc/wdialdcsq,,dcsqdb2n,cldrdgw1.is.chrysler.com,2998,DB2,10,1,180,0,1800
i need to convert all these into
<DataSource name="wdialODDC" maxConnection="10" minConnection="0 "... (1 Reply)
Discussion started by: mskalyani9
1 Replies
7. Shell Programming and Scripting
Hi Guys
I am having a perl script that fetches exclude list from a unix client and I trying it to convert it to shell script but I am having issues please help me...
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
# To turn on debuging (i.e. more information) specify... (29 Replies)
Discussion started by: Pawan Ramnani
29 Replies
8. Shell Programming and Scripting
Hi All,
I have a small tool which is currently configured in batch scripts only. But my need is to run it on Linux platform, so I have been trying to convert a batch script to shell script.
below is the batch script:
@echo off
IF "%1"== "" GOTO ARGERR
REM UPDATE THESE PROPERTIES TO... (2 Replies)
Discussion started by: sukhdip
2 Replies
9. UNIX for Beginners Questions & Answers
Here is a powershell script to use restful API to create ticket in our ticketing tool. Can anyone please convert it to a shell script sothat, I can run it in Unix servers,
below is the code:
$body = @{
Customer= ''test'
Summary= 'test summary'
Impact= '4-Minor/Localized'
... (2 Replies)
Discussion started by: pandeybhavesh18
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I am trying to print all the packages info in solaris 11 using below script.
#!/usr/bin/env bash
pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}' > /tmp/cp1
/usr/bin/nawk -F: '
{for (i=1; i<=NF; i++) {gsub (/^ *| *$/, "", $i)
... (5 Replies)
Discussion started by: sravani25
5 Replies
MCRON(1) User Commands MCRON(1)
NAME
mcron - a program to run tasks at regular (or not) intervals
SYNOPSIS
mcron [OPTIONS] [FILES]
DESCRIPTION
Run an mcron process according to the specifications in the FILES (`-' for standard input), or use all the files in ~/.cron with .guile or
.vixie extensions.
-v, --version
Display version
-h, --help
Display this help message
-sN, --schedule[=]N
Display the next N jobs that will be run by mcron
-d, --daemon
Immediately detach the program from the terminal and run as a daemon process
-i, --stdin=(guile|vixie) Format of data passed as standard input or
file arguments (default guile)
AUTHOR
Written by Dale Mellor
REPORTING BUGS
Report bugs to dale_mellor@users.sourceforge.net.
mcron (mcron 1.0.6)
COPYRIGHT
Copyright (C) 2003, 2006 Dale Mellor
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for mcron is maintained as a Texinfo manual. If the info and mcron programs are properly installed at your site,
the command
info mcron
should give you access to the complete manual.
mcron June 2010 MCRON(1)