HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- At job returns message warning: commands will be e...
Operating System - HP-UX
1830133
Members
2894
Online
109999
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
09-19-2003 11:00 AM
09-19-2003 11:00 AM
At job returns message warning: commands will be executed using /usr/bin/sh
I have a c shell script with the first line of #!/bin/csh. This script must run under the C shell and I would like to run it as an 'at' command.
It looks like this warning is just informational, but it also looks to me like this job is running under the /usr/bin/sh even though I am specifying /bin/csh.
For example, a small test program:
#!/usr/bin/csh -vx
set d = `date`
echo $d
echo $d[2]-$d[3]-$d[4].log > /tmp/$d[2]
doesn't create a file /tmp/Sep as it does when I run this test case interactively.
Something is not right, but what?
It looks like this warning is just informational, but it also looks to me like this job is running under the /usr/bin/sh even though I am specifying /bin/csh.
For example, a small test program:
#!/usr/bin/csh -vx
set d = `date`
echo $d
echo $d[2]-$d[3]-$d[4].log > /tmp/$d[2]
doesn't create a file /tmp/Sep as it does when I run this test case interactively.
Something is not right, but what?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 11:16 AM
09-19-2003 11:16 AM
Re: At job returns message warning: commands will be executed using /usr/bin/sh
This is a standard message.
It is informing you that cron and at commands will be executed with the posix shell.
/usr/bin/sh
If the script it calls has its own shell statement it will run in that shell. But the initial command and environment runs with the shell displayed in the message.
It is merely something that you need to know.
SEP
It is informing you that cron and at commands will be executed with the posix shell.
/usr/bin/sh
If the script it calls has its own shell statement it will run in that shell. But the initial command and environment runs with the shell displayed in the message.
It is merely something that you need to know.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP