- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to run cron job in particular terminal
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP