-   Solaris / OpenSolaris (
-   -   Cron Tab (

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


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.


druuna 06-07-2007 12:04 AM


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 09:07 PM.