![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab-nmon not working | fara_aris | AIX | 5 | 06-03-2008 02:08 AM |
| Pro*C Update not working from Crontab | alhallay | UNIX for Advanced & Expert Users | 2 | 09-15-2007 09:25 PM |
| crontab NOT working | baanprog | UNIX for Advanced & Expert Users | 2 | 09-26-2006 09:11 AM |
| crontab command not working | digant | UNIX for Advanced & Expert Users | 8 | 01-04-2004 06:46 PM |
| cron/crontab not working | ezekiel61 | UNIX for Dummies Questions & Answers | 2 | 02-05-2003 04:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
crontab not working right
I am having problems with a sparc5 solaris 7 box, when i try to edit cron, (crontab -e as root), it says
$ crontab -e 0 and then nothing, if i enter anything it errors out but does accept q for quit. But doesn't bring up my editor of the cron file. How can I troubleshoot this? Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
To troubleshoot you should read the man page for crontab.
Quote:
Then check your EDITOR: The EDITOR value can be seen by $ echo "$EDITOR" If it's not set, you will get an error "Undefined variable". If you then do the crontab -e command, it will default to ed which is mentioned in the man page for crontab. Fix these two problems and you will be on your way. |
|
#3
|
|||
|
|||
|
sh or ksh:
# EDITOR=vi; export EDITOR |
|
#4
|
|||
|
|||
|
WORKS!
EXCELLENT, thank you both! works, it's a new system, I haven't got it all set up correctly, thank you.
|
|||
| Google The UNIX and Linux Forums |