- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: running scripts in crontab
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО08-21-2001 08:08 AM
тАО08-21-2001 08:08 AM
Re: running scripts in crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 08:23 AM
тАО08-21-2001 08:23 AM
Re: running scripts in crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 08:34 AM
тАО08-21-2001 08:34 AM
Re: running scripts in crontab
Is ret a gui program?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 08:40 AM
тАО08-21-2001 08:40 AM
Re: running scripts in crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 08:57 AM
тАО08-21-2001 08:57 AM
Re: running scripts in crontab
From a root login capture your environment variables:
env > /tmp/root_env
From your crontab script, add a line like this:
env >/tmp/cron_env
Then do a "diff" and add any missing variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 09:01 AM
тАО08-21-2001 09:01 AM
Re: running scripts in crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 09:27 AM
тАО08-21-2001 09:27 AM
Re: running scripts in crontab
use FQPN for your program rat. i.e if your executable rat is in /opt/rat/bin then in script use
/opt/rat/bin/rat -c ?????? > /dev/null
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 03:18 PM
тАО08-21-2001 03:18 PM
Re: running scripts in crontab
if I read your script right, you are using the C-shell
from within it. Well, then it will perhaps try to be
"interactive" and that would need a "controlling
terminal" which will not be available if called from
"cron"... There is an option for the C-shell to NOT
start interactively, though, you might try that...
HTH,
Wodisch
- « Previous
-
- 1
- 2
- Next »