- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cron executable
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
тАО04-20-2010 07:09 AM
тАО04-20-2010 07:09 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 07:24 AM
тАО04-20-2010 07:24 AM
Re: cron executable
I think you are looking for the path for the crontab executable file:
It reside in /usr/bin/
i.e # /usr/bin/crontab
You can also type from the prompt:
$ whereis crontab
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 07:32 AM
тАО04-20-2010 07:32 AM
Re: cron executable
do the following:
# /sbin/init.d/cron stop ### to stop cron
# /sbin/init.d/cron start ### to start cron
or type:
# /usr/sbin/cron
-to check:
# ps -ef | grep -i cron
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 07:38 AM
тАО04-20-2010 07:38 AM
SolutionYou don't. Changing the crontab just changes the file in /var/spool/cron/crontabs/
There is no such thing as an executable crontab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 07:53 AM
тАО04-20-2010 07:53 AM
Re: cron executable
nice to see.
uname -a
> [...] The cron daemon then picks up the
> changes to the crontab file.
Not without some help, it doesn't. Which is
why one uses "crontab -e" instead of simply
editing the actual crontab file.
man crontab
man cron
> [...] their supposedly researching the
> problem [...]
"They're"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 08:00 AM
тАО04-20-2010 08:00 AM
Re: cron executable
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 08:25 AM
тАО04-20-2010 08:25 AM
Re: cron executable
crontab /var/spool/cron/crontabs/root to schedule the changes... thanks to everyone that responded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 08:30 AM
тАО04-20-2010 08:30 AM
Re: cron executable
>>opens the the crontab -e in a terminal window
Are you sure that when it opens the crontab in a terminal, that that isn't actually opening in the 'vi' editor in that terminal? If it is vi, you should still be able to make your changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2010 11:20 AM
тАО04-21-2010 11:20 AM
Re: cron executable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2010 11:57 AM
тАО04-21-2010 11:57 AM
Re: cron executable
So was "man crontab".
> [...] i see that editor=vi, [...]
Do you mean "EDITOR=vi"? (Or do you have the
only case-insensitive UNIX system in
captivity?)
> [...] would you happen to know what that
> should be changed to, to invoke the cde
> editor ??
Know? No. Guess: dtpad.
man dtpad
If I wanted exotic command-line options, I'd
create a script in a convenient place, and
then specify "EDITOR=that_script". Expect it
to need to pass a command-line argument.