Operating System - Tru64 Unix
1753474 Members
4482 Online
108794 Solutions
New Discussion юеВ

Re: export backup is not working in crontab

 
akhilesh kumar_1
Occasional Contributor

export backup is not working in crontab

hello

when i run script manually it start backup but in crontab it is running some time and some times it is not running.
get script as attachment

my entry in crontab is

00 21 * * * sh /exp_bkp/expdp.sh >/exp_bkp/output.log
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: export backup is not working in crontab

> [...] it is running some time and some
> times it is not running.

"not running" is not a useful problem
description. Is "cron" not running the job,
or is the job getting run but not working?

With my weak psychic powers, I can't see
what's in "/exp_bkp/output.log". Have you
looked at it? You might also save the error
output:

2>/exp_bkp/error.log
akhilesh kumar_1
Occasional Contributor

Re: export backup is not working in crontab

backup is not taking continuously at time it miss some days & i have to run expdp.sh script manually on that day.

there is not any output in /exp_bkp/output.log

file
LDI_Keppel
Occasional Contributor

Re: export backup is not working in crontab

Add the whole path of the sh command to your crontab line. Cron don`t know the PATH variable.