Assign Jails to specific JID

Status
Not open for further replies.

Prasanth

Contributor
Joined
Mar 2, 2014
Messages
100
As I was searching for a way to run a cron job within a specific jail I found this thread
cron-job-curl-inside-a-jail

Apparently in an older version of FreeNAS there was a UI option to assign each jail to a specific JID. (https://bugs.freenas.org/issues/1580) I wanted to request that feature back again as it would help run some cron jobs within the jail that can be controlled from the GUI.

Right now I'm having to use
Code:
/usr/sbin/jexec `jls | awk '/plex/ {print $1}'` command
in the cron command to ensure it will continue to work even if JID changes.

thanks
 

Prasanth

Contributor
Joined
Mar 2, 2014
Messages
100
thanks Gonzalo...for some reason when I tried that yday it didn't work. I went to check again and it works fine now...weird
 
Status
Not open for further replies.
Top