07-11-2005
Thanks for your help.
Could you please explain your code a bit?
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone,
I am trying to automate one process on Solaris OS.
This is what happens at the moment.
Every night at 19:30 and every hour after that we run a script that checks the status of databases. That script runs and prints if db's are OK at the end it states how many were down.
I am... (3 Replies)
Discussion started by: andrei
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Before I start, I would like to inform that, I went through all FAQs and other threads before posting here.
I 'm trying to schedule a shell script on cygwin using cron. No matter what I do I don't seem to get the cron job executing my bash script.
My script is temp.sh
echo `date` >... (4 Replies)
Discussion started by: shash
4 Replies
3. Shell Programming and Scripting
Hi guys,
I am new guy for unix. I need help writing the following shell script.
My requirement is:
I have few pl/sql procedures(lets say 10). I want to run some of them (say 5) parallally in the background and once these are completed trigger the next ones one after other.
Could some one... (13 Replies)
Discussion started by: chanduhyd4u
13 Replies
4. UNIX for Advanced & Expert Users
Hi,
How can we run/schedule a shell script. Since there is no access to cron at this point of time we have to think other way out to run a script every hour.
How can we achieve this. Need advice.
How about using sleep,autosys etc...the script should trigger off every hour...which sends... (3 Replies)
Discussion started by: noorm
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to schedule a script in crontab which should run at 01:00 am in the morning and should run for every 15 days in a month.
How to schedule this by using crontab?
Many thanks.
Rgds, (13 Replies)
Discussion started by: venkatesht
13 Replies
6. Shell Programming and Scripting
All,
Running the below script independently is working fine with no issue but once I am scheduling it in cron on my Linux environment it is not working.
Can anyone look into this and let me know what I have to modify here to schedule it properly.
09 03 * * 4 ksh 'cd... (1 Reply)
Discussion started by: Oracle_User
1 Replies
7. UNIX for Dummies Questions & Answers
I have a script that backs up a directory, creates a log file and mails the log file to us.
find . -print | backup -ivqf/dev/rmt0 | tee backup.log
cat backup.log|mail -v -s "Tape backup log" maillist
This script works fine from the console.
When I schedule it in cron, I never get the... (1 Reply)
Discussion started by: landog
1 Replies
8. Shell Programming and Scripting
Hi,
I have developed a file deletion script and scheduled it in cronjob to run daily at 5:00 AM. But the script is not running automatically any day. However when I run the script manually at any time, it runs successfully. This is how the cron looks like :
0 5 * * *... (5 Replies)
Discussion started by: jhilmil
5 Replies
9. Shell Programming and Scripting
I am getting the below error while scheduling the job.Why?
00 30 * * * /arbor/integ_fx/rahul_raj/itsr_5652_v2/it.sh /arbor/integ_fx/rahul_raj/itsr_5652_v2
"/tmp/crontabBvaWiv" 47 lines, 2412 characters
00 30 * * * /arbor/integ_fx/rahul_raj/itsr_5652_v2/it.sh ... (2 Replies)
Discussion started by: rafa_fed2
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have my script in below path in UNIX
/storage/sas_source/SDTM-Development/FileWatcher/filewatcher.sh
I want to schedule it to run every 30 secs.
Please let me know the steps to do it.
Thanks. (7 Replies)
Discussion started by: prats_7678
7 Replies
portal(5) File Formats Manual portal(5)
NAME
portal - a "window to the future" for applications
SYNOPSIS
DESCRIPTION
This header file is a "window to the future" for applications. It will help you to:
o Write code that is portable across 32-bit and 64-bit systems,
o Avoid undocumented assumptions about sizes of integral types,
o Write portable code that needs to be explicit about the sizes of integral types,
o Write code that is portable to a platform which has different sizes of integral types, and
o Share frequently used macros that are portable across 32-bit and 64-bit systems.
In addition to the macros defined in this file, it includes the header files (see limits(5)) and (see inttypes(5)).
The following macros are defined in
This macro can be used to create a mask that has one bit set.
bit_num is the position of the bit to set, and type is the data type of the mask. A -1 is returned in the case of overflow or
underflow.
This macro can be used to set a bit in a mask.
mask is the current value of the mask, bit_num is the position of the bit to set, and type is the data type of the mask.
This macro can be used to return the bit position
of the sign bit for the specified data type. type is the data type for which to return the position of the sign bit.
This macro can be used to return a mask for the sign bit for
the specified data type. type is the data type for which to return the sign bit mask.
This macro can be used to do a sign extension from one
data type to another. value is the current value that is to be sign-extended. old_type is the current data type of value and
new_type is the new data type of value.
This macro can be used to check if code has been
compiled big or little endian. endian is an integer in which the result will be returned.
The following macros can be used for print formatting and scan formatting of values of data types that can change in size based upon the
compilation flag Examples of such data types are off_t and fpos_t.
EXAMPLES
The macro in the following example will turn on the high bit in a 64-bit integer.
The macro in the following example will be used to turn on all bits except the sign bit in a 32-bit integer.
The macro in the following example will turn on the three least significant bits of the maximum integer.
The macro in the following example will return the position of the sign bit in a 32-bit integer.
The macro in the following example will return a sign bit mask for a 32-bit integer.
The macro in the following example will convert the 8-bit integer stored in a char data type to a 64-bit integer and correctly extend the
sign.
The macro in the following example will store a 1 in endian if the compilation was big endian; otherwise, it will store a 0 in endian.
AUTHOR
was developed by HP.
FILES
SEE ALSO
inttypes(5), limits(5), printf(3S), scanf(3S).
portal(5)