10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system.
df -h | awk -v host=`hostname` '
print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
2. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
3. How to Post in the The UNIX and Linux Forums
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
Parent is :
dn: firstname.lastname@example.org, o=wipro, o=in
dn: cn: yogesh kumar, email@example.com,... (1 Reply)
Discussion started by: Chand
4. Shell Programming and Scripting
I have put a cron entry in oracle user for taking hot backup every wednesday@ 2.30 AM and have given the cron entry
30 02 * * 3 /u01/vijay/hotbackupcron 2>&1 >> /u01/vijay/hotbackup.log
also find below the script inside hotbackupcron, i have put in env variables as well
... (13 Replies)
Discussion started by: vijaymec50
5. Shell Programming and Scripting
I have a crontab job in my sun solaris server and basically i have a unix script in 3 different parts
1 part will do an auto ftp from a server
2 part will have some grep and awk related commands and generate certain files
3 part the files that are generated above will be auto ftpied again... (1 Reply)
Discussion started by: aravindj80
I have added the script entry into crontab by using crontab -e.
30 * * * * /scripts/info.pl $HOME/GCSS/logs > /dev/null 2>&1
But its not working yet.
Note: When i was added the script by the time I have faced issue as below
1) If I use crontab -l then i got cant open the script. ... (2 Replies)
Discussion started by: Mani_apr08
7. UNIX for Dummies Questions & Answers
Hi I am trying to test the crontab entry by setting time as below ( set ahead more than 3min before saving the cron)
30 15 1-27 * * && (cd /scripts;./script.csh.prod.UAT /dev/null 2>&1)
But this is not working, but below one is working.
30 15 1-27 * * (cd... (1 Reply)
Discussion started by: jramesh1
8. UNIX for Dummies Questions & Answers
I have a perl script which used 'glance' command to return all the processes with the thread count.
It is working fine when it is executed as a command, but as a crontab entry, the perl script is not getting executed.
my $cmd=`glance -bootup -adviser_only... (1 Reply)
Discussion started by: manaac
9. UNIX for Advanced & Expert Users
Hi So, here is a million doller question. Being a Unix and Linux Admin we all use cront jobs to automate our tasks. But what if we need to monitor the cronjob itself. Oh!!! boy that can be a pain.
1. Redirect the output of the cronjob to a log file.:p
2. Using MAILTO option... (4 Replies)
Discussion started by: r00t4u
10. UNIX for Advanced & Expert Users
The problem started after tha migration to a newer version of oracle - migration to oracle 9i. Before the migration jobs that were scheduled in crontabs were running ok. but after the migration they are not running.
I understand that is not easy to find out what the problem is.... (4 Replies)
Discussion started by: alexcol