GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which did nohup.out file goes?
Operating System - HP-UX
1847817
Members
5298
Online
104021
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
Forums
Discussions
back
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
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
10-22-2003 05:03 AM
10-22-2003 05:03 AM
which did nohup.out file goes?
Hi all,
If I setup a cronjob, and inside the script started by cron, I start a background program using "nohup", where can I find the nohup.out file? it's not in the directory of the cron script, nor at the directory where the background job starts. where can I find it?
thanks,
Gary
If I setup a cronjob, and inside the script started by cron, I start a background program using "nohup", where can I find the nohup.out file? it's not in the directory of the cron script, nor at the directory where the background job starts. where can I find it?
thanks,
Gary
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 05:12 AM
10-22-2003 05:12 AM
Re: which did nohup.out file goes?
Cron jobs start out in the home directory of the user the cron job belongs to. So if it ran as joe_user you should find the file in ~joe_user.
--Jim
--Jim
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 05:15 AM
10-22-2003 05:15 AM
Re: which did nohup.out file goes?
Hi James, that's what I initailly thought, but I didn't find it at user's home directory...
thanks,
Gary
thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 05:24 AM
10-22-2003 05:24 AM
Re: which did nohup.out file goes?
Gary,
nohup.out will be written in the current dir. If not writable then to $HOME. As both of these are not defined in a cron env, it is better to put the whole path for the nohup output file.
So manually redirect it to a file with a full path.
HTH,
Umapathy
nohup.out will be written in the current dir. If not writable then to $HOME. As both of these are not defined in a cron env, it is better to put the whole path for the nohup output file.
So manually redirect it to a file with a full path.
HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
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 2026 Hewlett Packard Enterprise Development LP