I just asked this question to ChatGPT and unexpectedly it gave me a solution that works (or seems like). ![]()
The command needed to input the script in the Zammad Rails Console is:
sudo zammad run rails runner -e production 'load "/route/to/your/script.rb"'
I just needed to create an bash script that calls the rb script and put it in the crontab. It should work properly.