- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to run cron job in particular terminal
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
тАО01-06-2010 05:10 AM
тАО01-06-2010 05:10 AM
Is it possible that we can run cron job in particular terminal.
What is the purpose of this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:20 AM
тАО01-06-2010 05:20 AM
Re: How to run cron job in particular terminal
My question exactly.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:22 AM
тАО01-06-2010 05:22 AM
Re: How to run cron job in particular terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:22 AM
тАО01-06-2010 05:22 AM
Re: How to run cron job in particular terminal
What do you mean by "particular terminal"?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:22 AM
тАО01-06-2010 05:22 AM
Re: How to run cron job in particular terminal
This is the question - can you answer it???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:32 AM
тАО01-06-2010 05:32 AM
SolutionThe interviewer hasn't really provided you with enough information to answer this question properly. The literal answer would have to be "no" - at least I'm unaware of any method to associate a process started by cron with a terminal. However, that does not mean that the process (script/program/whatever) cannot figure out some way to tie itself to some particular device.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 05:34 AM
тАО01-06-2010 05:34 AM
Re: How to run cron job in particular terminal
'cron' tasks are not associated with terminals! This applies to 'at' jobs too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 06:13 AM
тАО01-06-2010 06:13 AM
Re: How to run cron job in particular terminal
Pete's comments got me thinking creatively. You could (at least) send a message from a 'cron'task to a particular user and/or a particular user at a particular terminal.
# cat ./cronme
#!/usr/bin/sh
write senthil pts/0 < /tmp/cronme.msg
exit
# cat ./cronme.msg
Time to wake-up...
Please call me. - Thanks!
You can see how this might work by using the 'at' or 'cron' facilities to schedule the './cronme' task.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 12:57 AM
тАО01-07-2010 12:57 AM
Re: How to run cron job in particular terminal
If you own a terminal (from another window), you can read/write to that device from a cronjob.