LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2014, 06:12 AM   #1
omniok
LQ Newbie
 
Registered: May 2014
Posts: 15

Rep: Reputation: Disabled
Crontab Entries not working


Hi,

I have several entries in my crontab. However, the cronjobs do not get executed. There is an error "-bash: /new/batch/scripts/startbatchProcess.sh: Permission denied". However, if the same is executed as "sh /new/batch/scripts/startbatchProcess.sh", outside crontab, there is no error and the cronjob runs successfully.
 
Old 06-10-2014, 06:15 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 981
Blog Entries: 2

Rep: Reputation: 235Reputation: 235Reputation: 235
chmod +x /new/batch/scripts/startbatchProcess.sh
 
1 members found this post helpful.
Old 06-16-2014, 07:50 AM   #3
omniok
LQ Newbie
 
Registered: May 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
@linosaurusroot, Genius man. It worked. Thanks a tonne !!!
 
Old 10-14-2014, 03:28 AM   #4
omniok
LQ Newbie
 
Registered: May 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linosaurusroot View Post
chmod +x /new/batch/scripts/startbatchProcess.sh
@linosaurusroot, Genius man. It worked. Thanks a tonne !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crontab entries deleted, how do I restore? derekcripps Linux - Newbie 8 12-31-2013 03:38 PM
[SOLVED] Crontab: Cannot see entries, but execution running shivaa Solaris / OpenSolaris 11 02-18-2013 03:38 AM
Where are the crontab entries stored? abefroman Linux - Server 2 11-15-2006 03:28 PM
Crontab doesn't accept new entries Thakowbbery Linux - Software 5 08-22-2006 02:49 PM
crontab entries will not execute when not logged fatra2 Linux - Software 2 05-23-2006 03:22 AM


All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration