How to migrate python script cron jobs to TrueNAS Scale Eeel?

Hello,

I am running Core and thinking about moving over to 24.10 Eel as it has been released now.

In Core I have a jail called Python with some python libraries installed and a number of datasets mounted to this jail.

Under cron jobs I run a couple of python scripts on a number of datasets, e.g.

iocage exec python python3.9 /mnt/python_scripts/myscript.py’

When I move over to Scale, there are no jails anymore. I was thinking about a docker container with python and libraries.
Is this the way to go? Or how could this migration be done?

I found the Cron jobs under Advanced in Scale (on a test machine).

Thank you!

If you dont need the container base OS changes to persist a custom docker app is the way to go.
If you need to make changes to the container OS image you will need system-nspawn (e.g. jailmaker) at least until Container support is implemented for 25.04 (Fangtooth).

1 Like

Sounds like a job for Jailmaker :wink:

jlmkr exec python python3.9 /mnt/python_scripts/myscript.py

1 Like