Hi, there. My goal is to run a python .py script once per week from my truenas scale server. Currently I have the script run on my laptop using Windows Task Scheduler, but I need to make sure my laptop is on at the scheduled time & day.
The python script uses the selenium package and chrome (it creates a reservation on a third-party website), which is why I don’t think I can do this as a simple Cron job.
I think the first step is to create a custom app / container for python in truenas? I have a number of apps installed & running currently, but this is my first custom app (noob alert). I used these parameters to create the app:
Image config:
Repository: python
Tag: 3.12-slim
Storage config:
Type: Host path
Mount path: /python_app
Host path: /mnt/apps/python
I left all the other parameters untouched. It did install without errors, but the app won’t run and I see this message: No containers are available.
Can someone point me in the right direction?