HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: crontab questioin
Operating System - HP-UX
1826860
Members
3046
Online
109704
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
Discussions
Forums
Discussions
back
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
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
04-14-2002 08:56 PM
04-14-2002 08:56 PM
crontab questioin
when i use crontab -e,there's something wrong
#crontab -e
h >/dev/null 2>&~
and i cant edit ,after ctrl+c exit,i find i can input anything ,what's the problem?
#crontab -e
h >/dev/null 2>&~
and i cant edit ,after ctrl+c exit,i find i can input anything ,what's the problem?
help ,help,help :-)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2002 09:08 PM
04-14-2002 09:08 PM
Re: crontab questioin
Hi,
Not sure I understand your question:
Is that the text that appears after starting
crontab -e command?
One thing I always like to point out is,
never to use 'crontab -e' but use
'crontab -l >/tmp/wrk'
Make my changes and then resubmit the
cron file like this:
# crontab /tmp/wrk
The reason I suggest this is, that anything
goes wrong during the initial edit, like
your terminal or PC hangs, you may lose
the whole contenst of your cron file.
Using the work file eliminates this risk.
~Michael~
Not sure I understand your question:
Is that the text that appears after starting
crontab -e command?
One thing I always like to point out is,
never to use 'crontab -e' but use
'crontab -l >/tmp/wrk'
Make my changes and then resubmit the
cron file like this:
# crontab /tmp/wrk
The reason I suggest this is, that anything
goes wrong during the initial edit, like
your terminal or PC hangs, you may lose
the whole contenst of your cron file.
Using the work file eliminates this risk.
~Michael~
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2002 09:21 PM
04-14-2002 09:21 PM
Re: crontab questioin
One more thought:
If that is the output when you run:
# crontab -e
then your crontab file is certainly corrupted. You will have to get from your backup.
Make sure that in the future you only use 'crontab -l >/tmp/wrkfile'
It will save you next time.
Michael
If that is the output when you run:
# crontab -e
then your crontab file is certainly corrupted. You will have to get from your backup.
Make sure that in the future you only use 'crontab -l >/tmp/wrkfile'
It will save you next time.
Michael
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2002 09:36 PM
04-14-2002 09:36 PM
Re: crontab questioin
Hi,
Did you set your editor?
# export EDITOR=vi
With regards to your other query, this problem could might also be due to your emulation problem. Eg.
# export TERM=vt100
Use an appropriate value for TERM.
Hope this helps. Regards.
Steven Sim Kok Leong
Did you set your editor?
# export EDITOR=vi
With regards to your other query, this problem could might also be due to your emulation problem. Eg.
# export TERM=vt100
Use an appropriate value for TERM.
Hope this helps. Regards.
Steven Sim Kok Leong
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP