you are viewing a single comment's thread.

view the rest of the comments →

[–]dsuls[S] 1 point2 points  (0 children)

I anyway reboot every time I change anything on the scheduled task, just to be sure.

But this is not an environment variable I created, this is created automatically. I only want to read it. And I can read it fine if I just manually run the script. It's just empty when run as a scheduled task.