- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Program can not be run in the cron environment
Operating System - HP-UX
1752767
Members
5259
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 03:02 AM
тАО10-27-2010 03:02 AM
Re: Program can not be run in the cron environment
>JRF: I only use POSIX or Korn shells so the syntax of the included material should be compatible in either case ;-)
That's not relevant. If you source something, you use your current shell. The #! is just a comment. You also can make the file non-executable so it is never executed as a script.
That's not relevant. If you source something, you use your current shell. The #! is just a comment. You also can make the file non-executable so it is never executed as a script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 01:24 PM
тАО10-27-2010 01:24 PM
Re: Program can not be run in the cron environment
Hi :
> Dennis: > JRF: That's not relevant. If you source something, you use your current shell. The #! is just a comment. You also can make the file non-executable so it is never executed as a script.
I am quite aware of both statements. When I said that, "I only use POSIX or Korn shells so the syntax of the included material should be compatible in either case" I meant that I include the interpreter line as documentation for the body of the included file's contents if/when a human reads the file's contents. If I was running the standard POSIX shell but attempted to source a file containing 'setenv' statements from your favorite C-shell, the POSIX shell is going to complain loudly when it encounters the 'setenv' statement (not the interpreter line).
Regards!
...JRF...
> Dennis: > JRF: That's not relevant. If you source something, you use your current shell. The #! is just a comment. You also can make the file non-executable so it is never executed as a script.
I am quite aware of both statements. When I said that, "I only use POSIX or Korn shells so the syntax of the included material should be compatible in either case" I meant that I include the interpreter line as documentation for the body of the included file's contents if/when a human reads the file's contents. If I was running the standard POSIX shell but attempted to source a file containing 'setenv' statements from your favorite C-shell, the POSIX shell is going to complain loudly when it encounters the 'setenv' statement (not the interpreter line).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2010 04:46 AM
тАО11-13-2010 04:46 AM
Re: Program can not be run in the cron environment
Dear all,
Thanks for your great help.
Now my cronjob is working.
I am closing this thread now.
Apologize for replying so late, just too busy.
Regards
Kang
Thanks for your great help.
Now my cronjob is working.
I am closing this thread now.
Apologize for replying so late, just too busy.
Regards
Kang
Hello world...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2010 04:47 AM
тАО11-13-2010 04:47 AM
Re: Program can not be run in the cron environment
Solved based on the comments
Hello world...
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP