# Problem with scheduling a job

**URL:** <https://forums.powershell.org/t/problem-with-scheduling-a-job/317>\
**Category:** PowerShell Help\
**Created:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/problem-with-scheduling-a-job/317 "2011-12-31T18:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archives](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@archives](https://forums.powershell.org/u/archives)\
**Post date:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/problem-with-scheduling-a-job/317/1 "2011-12-31T18:30:00Z")

</div>

by Zushakon at 2012-11-06 04:58:29

> Hello,  
>   
> I have a problem with scheduling powershell script in win7 scheduler.   
>   
> I put a simple statment "powershell -noexit -file ‘d:\powershell\script.ps1’ but it does not work.   
>   
> When i run this in normal command line or Start -\> Run it works correctly. Any idea why scheduling does not work for me ?

by Zushakon at 2012-11-06 05:15:35

> Subject can be closoed after a long time i found out that the problem is with checking if the user is logged.

by nohandle at 2012-11-06 05:22:33

> You can mark the thread as solved yourself.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:58pm UTC](https://forums.powershell.org/t/problem-with-scheduling-a-job/317/2 "2024-05-16T20:58:08Z")

</div>


