Automated shell execution stopped working

Hello,
I have a trigger which executes a shell command.
my shellcommand is this one

shell_command:
  webos_reset_dev_mode_session: "bash /config/shell/reset-lg-devmode-timer.sh"

and my trigger is like this.

- id: '1663521439569'
  alias: webos_reset_dev_mode_session
  description: ''
  trigger:
  - platform: time
    at: 02:00:00
  - platform: device
    device_id: 18f878526d80a2732de656d1b0327979
    domain: media_player
    entity_id: media_player.living_room_tv
    type: turned_on
    for:
      hours: 0
      minutes: 1
      seconds: 0
  condition: []
  action:
  - service: shell_command.webos_reset_dev_mode_session
    data: {}
  mode: single

now this .sh script should create 2 files in the tempfolder and trigger a webhook,
but no files are created in the tempfolder.
when I run the script manually, the files are created.

Now the strange thing is that it was working from november up untill somewhere next week.
In the automation trace I can’t find any issues.
what can I do to fix the issue, or to determine what is wrong?

the issue was that files where getting generated in the /tmp folder, for somehow that stopped working,
changing it to /config/tmp and ofcouse make sure this folder exists seems to fix the issue.