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
in the cron command to ensure it will continue to work even if JID changes.
thanks
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
thanks