- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Edit cron without using crontab -e
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
Discussions
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
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
03-01-2016 05:23 AM
03-01-2016 05:23 AM
We have observed one strange issue regarding one of our cron job for a user.
which gets automatically unhashed ? hpux 11.31
Hows it possible without using crontab -e ? Is there any way we can do it ?
We have traced its history files where we have searched for "crontab" command used if any but we couldnt find anything.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2016 07:05 AM
03-01-2016 07:05 AM
Re: Edit cron without using crontab -e
> We have observed one strange issue regarding one of our cron job for a
> user.
And what, exactly, is this "issue"?
> which gets automatically unhashed ? [...]
Huh? What, exactly, are you doing? What, exactly, happens when you
do it?
> Hows it possible without using crontab -e ? Is there any way we can do
> it ?
How is _what_ possible? Not using "crontab -e"? Perhaps. Why not
use "crontab -e" (which does all the work automatically)?
If you edit a crontab without using "crontab -e", then you need to
tell cron to look (again) at the crontab. The traditional way to do
this is:
kill -HUP <cron_pid>
where <cron_pid> is the process ID of the cron program. "ps" can find
it.
man cron
man ps
> We have traced its history files where we have searched for "crontab"
> command used if any but we couldnt find anything.
Huh?
Whether or not English is a second language, showing actual commands
with their actual output can be more helpful than vague descriptions or
interpretations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2016 03:50 PM
03-05-2016 03:50 PM
Re: Edit cron without using crontab -e
>which gets automatically unhashed
What do you mean by unhashed? Deleted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2016 09:18 PM
03-06-2016 09:18 PM
Re: Edit cron without using crontab -e
I mean it is disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2016 11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2016 03:45 PM
03-07-2016 03:45 PM
Re: Edit cron without using crontab -e
> I mean it is disabled.
Only you seem to know what that means. As usual, whether you believe
it or not, showing actual commands with their actual output can be more
helpful than vague descriptions or interpretations.
I'm still guessing (based on no evidence) that the problem here is
the common one, where someone added a line to a crontab using some means
other than "crontab -e", and that new line is being ignored by cron.
But explanations like "which gets automatically unhashed ?" or "it is
disabled" (with no clue as to what "which" or "it" might be, or what
"unhashed" or "disabled" might mean) leave me mystified.