LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Cron Tab (https://www.linuxquestions.org/questions/solaris-opensolaris-20/cron-tab-559784/)

talat 06-06-2007 11:17 PM

Cron Tab
 
Hi Guys

I my solaris 10.When i log in as user talat and try to schedule any task .First i change the editor by

bash-3.00$export EDITOR=vi

then

bash-3.00$crontab -e

after adding task i save it with:wq

It gives me following msg

crontab: error on previous line; unexpected character found in line.
crontab: errors detected in input, no crontab file generated.

What to do.

Regard
Talat

druuna 06-07-2007 12:04 AM

Hi,

What's in the crontab, or what are you trying to put in the crontab? Looks like there's a line that's not correct.

BTW: If you want to make vi the permanent editor you can put the EDITOR=vi line in your ~/.profile (or /etc/profile to make it global for all users).

Hope this helps.


All times are GMT -5. The time now is 07:19 AM.