LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-15-2012, 05:02 AM   #31
sysmicuser
Member
 
Registered: Mar 2010
Posts: 332

Original Poster
Rep: Reputation: 0

@grail mate, appreciate your persistence with passion

I would have given up but with your support I am continuing.

Many thanks for your continued support.
 
Old 03-15-2012, 05:17 AM   #32
sysmicuser
Member
 
Registered: Mar 2010
Posts: 332

Original Poster
Rep: Reputation: 0
Ok.

Here is the entry for crontab job.

Code:
[user01@centos-flash test]$crontab -l
* * * * * /test/perforce_opened_files.sh
[user01@centos-flash test]$
Apparently the error is coming down there @ "process substitution", I asked one of unix admin but he didnt knew about that...
 
Old 03-15-2012, 08:10 AM   #33
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,256

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
And you are using bash in the #! and not sh? Unfortunately I am not much of a cron expert so maybe one of the other people might chime in. My first thought is that somehow
cron is executing it as a POSIX script which I believe does not support process substitution.
 
1 members found this post helpful.
Old 03-15-2012, 08:28 PM   #34
sysmicuser
Member
 
Registered: Mar 2010
Posts: 332

Original Poster
Rep: Reputation: 0
Yes grail I am executing it as bash and not sh.

That's fine grail , no problemo, if I receive input from somebody that would be great else I shall see how I go with this one.

Many thanks once again for all your help.
 
  


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
How to call a array dynamically into a script subbuyt Programming 7 09-08-2011 07:33 AM


All times are GMT -5. The time now is 10:49 PM.

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