Results 1 to 7 of 7
Hi X-perts,
I created a cron job using crontab -e. Then I input all the schedule and where the scripts can be found when the jobs start to kick in. ...
- 03-05-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 4
cronjobs
Hi X-perts,
I created a cron job using crontab -e. Then I input all the schedule and where the scripts can be found when the jobs start to kick in. I tested manually each and every script. It works just fine when i execute it manually. However, when it inside the cron jobs. It just won't run. Can someone tell me what is going on with my cron jobs?
Thanks for your help in advance,
asianadmin
- 03-05-2009 #2
It's likely to be a permissions issue. Make sure your cron scripts are owned and executable by the person whom the cron job is running as.
Linux user #126863 - see http://linuxcounter.net/
- 03-05-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 4
those scripts files owned by oracle which is the same owner of the cron job. Becuase i log in as oracle and execute this command: crontab -e
- 03-05-2009 #4Linux Newbie
- Join Date
- Jul 2005
- Location
- Australia (Down Under)
- Posts
- 141
I had an issue similar to this, i had my script.sh file and to run it manually I would
to run it in a cron i had to remove the . so my crontab looked like thisCode:./script.sh
(note that there is no .)Code:* * * * * /scripts/script.sh
hope this helps.
- 03-05-2009 #5Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,939
I would suggest you post your entry from the crontab file so it can be viewed. Someone might see an obvious problem.
- 03-05-2009 #6Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
have you checked out the cron logs in /var/log/cron it should give you an error message
- 03-06-2009 #7Just Joined!
- Join Date
- Feb 2009
- Posts
- 25
start from basics -- check if the cron service is running!


Reply With Quote