Home » Infrastructure » Linux » script not executing in cron
script not executing in cron [message #261999] Fri, 24 August 2007 05:50 Go to next message
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 #262015 is a reply to message #261999] Fri, 24 August 2007 06:15 Go to previous messageGo to next message
Michel Cadot
Messages: 57642
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
What is sample.sh?
What is not working? Explain/precise.

Regards
Michel
Re: script not executing in cron [message #262112 is a reply to message #262015] Fri, 24 August 2007 10:02 Go to previous messageGo to next message
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 Go to previous message
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
Previous Topic: Invisible parametr passing in Linux
Next Topic: coding for job schduling in shell programming.
Goto Forum:
  


Current Time: Wed Apr 23 20:33:17 CDT 2014

Total time taken to generate the page: 0.11281 seconds