script not executing in cron [message #261999] |
Fri, 24 August 2007 05:50 |
ankush_chawla
Messages: 136 Registered: November 2006
|
Senior Member |
|
|
hi
if i try to execute sample.sh manually we are successfull in doing so but we are not able to execute through crontab
crontab entry is
3 30 * * * /oracle/sample.sh
please reply asap
regards
Ankush
|
|
|
|
Re: script not executing in cron [message #262112 is a reply to message #262015] |
Fri, 24 August 2007 10:02 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
# min - time of hour
# hour - hour of day
# daymo - day(s) of month (1,2,...31)
# month - month(s) of year (1,2,...12)
# daywk - days of week (0-6, 0=Sunday)
# e.g.
I heared about 24 hours is there any hour 30?
30 03 * * * /oracle/sample.sh
|
|
|
Re: script not executing in cron [message #263361 is a reply to message #262112] |
Wed, 29 August 2007 20:17 |
mson77
Messages: 208 Registered: August 2007 Location: Brazil
|
Senior Member |
|
|
Hello,
1) is the "crond" daemon running?
2) sample.sh has execute right? (+x)
3) the user has access to the sample.sh?
These 3 itens above should answer you doubt.
Regards,
mson77
|
|
|