crontab in iocage jails

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478
I have a script I want to run with a cron trigger from within a created icoage jail.

When I execute "crontab -e" it open up a vi editors but it doesn't seem to let me modify it nor does it present the expected controls that vi normally displays.

It seems as though it is almost in read-only mode and I am not allowed to type anything.

Any ideas? What am I missing?

Version:
11.2Release-U1
 
D

dlavigne

Guest
How and on which version did you create the jail? I cannot reproduce this on a jail created from the UI.
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Change the editor in the jail and see if the problem persists. setenv editor ee

I know some don't like ee but I find very easy to use.
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478
Thanks for the suggestion @Jailer

No matter what I set it to, I get the same screen I described in my original post. I have tried both ee and nano at this point.

Here is a screenshot:
jls%252520crontab.png
 

millst

Contributor
Joined
Feb 2, 2015
Messages
141
Looks fine to me. There just aren't any scheduled tasks by default. Add one and save.
 
Top