06-23-2010
Have you set the required environment variables $ORACLE_HOME, $ORACLE_SID, $PATH ...?
Use full pathnames when calling the scripts.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a backup script that is suppose to run every night of the week, but it never does, it starts to run. The way I can tell is that the dates on dump_log are changing to when the script runs. If I look in the cron log file is shows
! > root 506342 cr /etc/back_up Fri Aug 5 10:30:00... (2 Replies)
Discussion started by: rickyt00
2 Replies
2. HP-UX
Dear Folks,
i am new to hp-ux, i have a problem scheduling the crontab,
The script is working fine at command prompt, but not working at cron, please find a solution for it ,
here are the logs and my schedule at cron:
log after restarting crontab /var/adm/cron/log
! *** cron started *** ... (11 Replies)
Discussion started by: vaddi
11 Replies
3. UNIX for Advanced & Expert Users
I am adding a piece of code which adds entry in crontab ((in brown color))
\crontab -l > $tmpfile
echo "Removing the cleanProcess entry if it already existed.."
grep -v "cleanProcess.sh" $tmpfile > $newtmpfile
lcnt=`grep -c "cleanProcess.sh" $tmpfile`
echo... (4 Replies)
Discussion started by: crackthehit007
4 Replies
4. Shell Programming and Scripting
Helo .
I have 2.6.13-1.1526_FC4smp here.
I am trying to make crontab execute my simple shell script, but noting happens.
here is how i am testing this :
$ pwd
/home/oracle
$ ls -l two*
ls: two*: No such file or directory
$
$ crontab -e
crontab: installing new crontab
$
$ crontab... (7 Replies)
Discussion started by: tonijel
7 Replies
5. UNIX for Advanced & Expert Users
We have configured a script to be run at specific time using crontab.
# crontab -l
15 11 * * * VM_Count_V4.shas per the crontab entry script should run every day 11.15 a.m
Every time when the script is executed i get a mail but when i run it using crontab it doesn't send any mail.
However... (1 Reply)
Discussion started by: pinga123
1 Replies
6. AIX
Hi all,
I'm having a problem with a crontab entry execution for a non root user.
AIX version 5.3
user@host ~ $ oslevel -r
5300-10
cron status
user@host ~ $ ps -ef | grep cron
root 377044 1 0 Oct 27 - 0:22 /usr/sbin/cron
cron entry for user
user@host ~ $... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a cronjob but it is not getting executed.Is there any ways to check whether crontab is working.I have put crontab -l and checked.It got listed.But it is not working.
My Crontab is,
* * * * * /ldesk/home/abc/source/compare.sh >/dev/null 2>&1 (1 Reply)
Discussion started by: gayisada
1 Replies
8. Shell Programming and Scripting
hi,
i have schduled a job through crontab, but it is not getting executed.
bash-3.2$ crontab -l
# Monthly Download (mm hh DD MM format)
35 05 01 04 * /home/ftpsrp/srpftp1/download/ofrdb/scripts/load_ofrdb.sh crr.sh
here is the permission of the .sh files
-rwxr--r-- 1 ftpsrp srp ... (7 Replies)
Discussion started by: lovelysethii
7 Replies
9. UNIX for Advanced & Expert Users
My colleague who was a sysadmin , has created a cron job script which collects logs and process them.
The script works perfectly as per the defined time set by him.
it works when we keep the timing as 55 05 * * * , whereas if we try to prepone the cron task is not getting executed.
Where... (10 Replies)
Discussion started by: aravindj80
10 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I have a bash script that finds files older than 31 days and deletes them. I have this file loading into crontab to run everyday. It ran fine the first time i loaded it in, but now when I try to run it manually (bash file.sh) I get errors.
Here is the script
TIME=" -maxdepth 1... (6 Replies)
Discussion started by: jrymer
6 Replies
LEARN ABOUT DEBIAN
biomaj
biomaj(1) USER COMMANDS biomaj(1)
NAME
biomaj - downloads and transform remote biological data banks
SYNOPSIS
biomaj [-h]
DESCRIPTION
BioMAJ (BIOlogie Mise A Jour) is a workflow engine dedicated
to data synchronization and processing.The Software automates
the update cycle and the supervision of the locally mirrored
databank repository. User must have roots rights to run biomaj.
OPTIONS
-h display the list of commands.
INSTALL
At installation, BioMAJ requires a database to run (MySQL), installer should first create a database (biomaj_log) and a database user (the
one used at installation setup).
The database configuration for biomaj can be set or modified in /etc/biomaj/db_properties/global.properties.
In the install fails due to a SQL error, the install script must be manually run to create/upgrade the database:
perl /usr/share/biomaj/sql/migration/update.pl
The script will create/upgrade the database and update the configuration files.
ADMIN USER
A default admin user (admin) is created by the scripts. If using the biomaj-watcher, the default password (admin) MUST be changed immedi-
atly via the watcher interface.
If only biomaj core is used, password is useless.
.PP
UPGRADE
In the case of a package upgrade, if properly configured, the migration scripts will be ran automatically at install.
It is possible to run manually the script:
.B See perl /usr/share/biomaj/sql/migration/update.pl -h
for usage.
DATA BANKS
By default, biomaj is configured (data.dir in global.properties) to write banks to /var/lib/biomaj.
EXAMPLES
Update a bank:
biomaj --update genbank
Show console
biomaj --update genbank --console
Show status:
biomaj --status
EXIT STATUS
biomaj returns a zero exist status if it succeeds, it does not represent the bank update status.
AUTHOR
Olivier Sallou (olivier.sallou (at) irisa.fr) Romaric Sabas (romaric.sabas (at) irisa.fr)
version 1.2.0 September 14, 2011 biomaj(1)