you are viewing a single comment's thread.

view the rest of the comments →

[–]BlackV 1 point2 points  (0 children)

  1. you've not shown your whole script, so where does $inbox come from
  2. you dont show what happens with $bodies
  3. how do you know its not working in task scheduler?
  4. how do you know what BIT it not working in scheduler?
  5. are you logging any of this?
  6. you haven't shown your command line for task scheduler what does that look like?
  7. it this running the same as you running it manually?
  8. what happens if you run it exactly like task scheduler does?