Posted in
Windows Powershell,
Windows Server |
No Comment | 20,897 views | 06/05/2009 23:18
You can add your powershell scripts to Task Scheduler as a cronjob. Just use:
1
| cmd.exe /c "Powershell D:\www\google.com.tr\logs.ps1" |
cmd.exe /c "Powershell D:\www\google.com.tr\logs.ps1"
Simply I used cmd.exe to execute powershell script.
Posted in
Windows Server |
14 Comments | 135,097 views | 06/05/2009 23:13
Here are some last run result codes for task scheduler:
(0x0): Success.
(0x1): File not found or path not found.
(0x41301): Task still running.
(0x800704DD): User has not logged on to the network.
I’ll add more when I get more results :)