LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't open crontab on Solaris (https://www.linuxquestions.org/questions/linux-newbie-8/cant-open-crontab-on-solaris-939158/)

sam_nyc 04-10-2012 04:25 PM

can't open crontab on Solaris
 
Hi,

using Solaris, I can't open crontab. Any idea ? Thanks.

This is what I did so for...

Code:

# crontab -e
566

?
q
The crontab file was not changed.

I did do this
set -o vi
set TERM=vt100; export TERM
Code:

# echo $TERM
vt100
# echo $SHELL
/sbin/sh


bathory 04-10-2012 05:10 PM

Hi,

You can use (for bash or ksh shells):
Code:

EDITOR=vi
export EDITOR

and then run crontab -e to edit your crontab

Regards


All times are GMT -5. The time now is 08:50 PM.