Sponsored Content
Operating Systems Solaris Shell Script gives error when run through cron job. Post 302515535 by ksadiq79 on Wednesday 20th of April 2011 10:28:32 AM
Old 04-20-2011
Hi,

Thx for the update. However, I tried different options but still the problem persists.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem when the script is scheduled to run as cron job

Hello, I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script. I have scheduled the job in my crontab file as ... (6 Replies)
Discussion started by: forumthreads
6 Replies

2. UNIX for Dummies Questions & Answers

shell script run by user or cron job ?

My shell script runs fine both as a cron job and when i issue it. However, I wish to differentiate when it runs as a cron-job so the "echo" statements are not issued (they get mailed to me, which i don't want). I tried checking $USER but since the cron was created in my user that does not... (5 Replies)
Discussion started by: sentinel
5 Replies

3. Shell Programming and Scripting

script wont run from cron job

I have written a simple bash script that will run a wget command to recursively ftp an entire directories and it's contents. #!/bin/bash wget -r -N ftp://user:pass@server//VOL1/dir If I run from the regular command line it works fine. root@BUSRV: /media/backup1$ ./gwbu When I put it in... (1 Reply)
Discussion started by: mgmcelwee
1 Replies

4. UNIX for Advanced & Expert Users

Need help with a script run by a cron job.

Hi, new to this forum and not sure if this is the right place to post. I'm new to cron jobs and scripts, and I need some help with a script to be used with a cron job. I already have a bot set up at a certain website address and need a script that the cron job will load every day that tells it to... (1 Reply)
Discussion started by: klawless
1 Replies

5. Shell Programming and Scripting

Cron job shell script..

Hey Guys, i was trying out a shell script which has to remove a file for every 90 mins. this is the code i came up with . $ crontab -e file1 file1 contains 30 1 * * * * rm -r /folder1/folder2/somefile.txt Now i need the cron to run for every 90 mins. the problem with this is... (8 Replies)
Discussion started by: Irishboy24
8 Replies

6. UNIX for Dummies Questions & Answers

cron job for the created shell script

Hi am newbie for unix shell.. how to create a cron job for my already created shell script.:confused: Thanks! (1 Reply)
Discussion started by: vidhyaS
1 Replies

7. Shell Programming and Scripting

how to run a script using cron job and send the output as attachment via e-mail using unix

how to run a script using cron job and send the output as attachment via e-mail using unix. please help me. how my cron job entry should be? As of now my cron job entry is to run the script at specific time, 15 03 * * * /path/sample.sh | mail -s "Logs" email_id In the above entry, what... (8 Replies)
Discussion started by: vidhyaS
8 Replies

8. Shell Programming and Scripting

how do I run bash script using cron job

How do I run bash script using a cron job? I have tried to just write the path of the script, but that didn't work. (1 Reply)
Discussion started by: locoroco
1 Replies

9. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

Hi, 1) If some job supposed to run on 1st of every month at 7 AM In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day? 2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct) And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies

10. Shell Programming and Scripting

Script that will send an email if the cron job did not run.

Team, Would like to know what is the best script that will send you an email if cronjob did not run. Thanks (4 Replies)
Discussion started by: kenshinhimura
4 Replies
UPDATE-CATALOG(8)						      Debian							 UPDATE-CATALOG(8)

NAME
update-catalog - create or update entry in SGML catalog file SYNOPSIS
update-catalog [options] --add --super centralized_catalog update-catalog [options] --add centralized_catalog ordinary_catalog update-catalog [options] --remove --super centralized_catalog update-catalog [options] --remove centralized_catalog ordinary_catalog DESCRIPTION
update-catalog inserts, updates or removes entries in the SGML super catalog /etc/sgml/catalog and the SGML centralized catalogs located in /etc/sgml. OPTIONS
--add Adds an entry for the centralized_catalog in the super catalog /etc/sgml/catalog, or an entry for the ordinary_catalog in the cen- tralized_catalog. --remove Removes the entry for the centralized_catalog from the super catalog /etc/sgml/catalog, or the entry for the ordinary_catalog from the centralized_catalog. --quiet Prevents the usual diagnostic output. --test Prevents the update of the catalog and writes the resulting SGML catalog to standard output. --version Displays the version information and exits. --help Display the usage information and exits. AUTHOR
Ardo van Rangelrooij <ardo@debian.org> COPYRIGHT
Copyright (C) 2001-2004 Ardo van Rangelrooij This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is no warranty. Debian Project June 2004 UPDATE-CATALOG(8)
All times are GMT -4. The time now is 03:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy